···2233## Next
44- Add MMM format to allow short month names (@peterbell215)
55+- Add date-fns 3 support
5667## 2.12.0 - 2024 Apr 9
78- Disable autocomplete for date input (@gianarb)
···33 import Prop from './prop.svelte'
44 import Split from './split.svelte'
55 import { localeFromDateFnsLocale } from '$lib'
66-77- // had to import it this way to avoid errors
88- // in `npm run build:site` or `npm run check`:
99- import hy from 'date-fns/locale/hy/index'
1010- import de from 'date-fns/locale/de/index'
1111- import nb from 'date-fns/locale/nb/index'
66+ import { hy, de, nb } from 'date-fns/locale'
127138 let id: string
149 let placeholder: string
+1-6
src/routes/DatePicker.svelte
···33 import { localeFromDateFnsLocale } from '$lib/locale.js'
44 import Prop from './prop.svelte'
55 import Split from './split.svelte'
66-77- // had to import it this way to avoid errors
88- // in `npm run build:site` or `npm run check`:
99- import hy from 'date-fns/locale/hy/index'
1010- import de from 'date-fns/locale/de/index'
1111- import nb from 'date-fns/locale/nb/index'
66+ import { hy, de, nb } from 'date-fns/locale'
127138 let value: Date
149 let min: Date