Skip to content

Commit ddbbdd3

Browse files
Mention supported features
1 parent 217573b commit ddbbdd3

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
Date and time picker for Svelte
44

5+
Supports theming, custom formats, internationalization and autopunctuation (e.g typing "20201111111111" gives you "2020-11-11 11:11:11" with the default format)
6+
57
[Demo](https://date-picker-svelte.kasper.space/demo)
68

79
[Documentation](https://date-picker-svelte.kasper.space/docs)

src/routes/_DatePicker.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// in `npm run build:site` or `npm run check`:
99
import hy from 'date-fns/locale/hy/index.js'
1010
11-
let value: Date = new Date(2011, 3, 1)
11+
let value: Date
1212
let min: Date
1313
let max: Date
1414
let locale = localeFromDateFnsLocale(hy)

src/routes/index.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55

66
<p>Date and time picker for Svelte</p>
77

8+
<p
9+
>Supports theming, custom formats, internationalization and autopunctuation (e.g typing
10+
"20201111111111" gives you "2020-11-11 11:11:11" with the default format)</p>
11+
812
<h2>DateInput</h2>
913
<DateInput />
1014

0 commit comments

Comments
 (0)