Date and time picker for Svelte

Features:

  • Theming
  • Custom formats
  • Internationalization (i18n)
  • Autopunctuation (e.g typing "20201111111111" gives you "2020-11-11 11:11:11" with the default format)
  • Keyboard shortcuts

Install

npm install -D date-picker-svelte

DateInput

Props

value
null
min
max
id
placeholder
valid
format
visible
disabled
required
closeOnSelection
browseWithoutSelecting
dynamicPositioning
locale
Default
timePrecision

DatePicker

եր
եք
չք
հգ
ուր
շբ
կր
26
27
28
29
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
01: 41 :28 .504

Props

value
null
min
max
locale
date-fns hy
browseWithoutSelecting
timePrecision