DropDownDatePicker tests

Here are some date pickers positioned statically. Drop down should appear below the input box.

Wipe: Select a date

October
S M T W T F S
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 8 9 10 11

2006

Explode: Select a date
↓ ↓ ↑ ↑ July
S M T W T F S
25 26 27 28 29 30 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

2005 2006 2007

Fade: Select a date
↓ ↓ ↑ ↑ June
S M T W T F S
28 29 30 31 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 1
2 3 4 5 6 7 8

2005 2006 2007

Select a date

↓ ↓ ↑ ↑ October
S M T W T F S
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 8 9 10 11

2005 2006 2007

There are also tests for menu positioning in the corners of this page (upper right, lower right

Select a date
↓ ↓ ↑ ↑ July
S M T W T F S
25 26 27 28 29 30 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

2005 2006 2007

Select a date
↓ ↓ ↑ ↑ July
S M T W T F S
25 26 27 28 29 30 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

2005 2006 2007

Some localized DropdatePickers inside a form

Parser is barfing here in Eclipse+Safari. Why? value="today"

Select a date
↓ ↓ ↑ ↑ July
S M T W T F S
29 30 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 8 9

2024 2025 2026

US format, empty

Select a date
↓ ↓ ↑ ↑ July
S M T W T F S
29 30 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 8 9

2024 2025 2026

US format with initial date of 2006-06-26

Select a date
↓ ↓ ↑ ↑ June
S M T W T F S
28 29 30 31 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 1
2 3 4 5 6 7 8

2005 2006 2007

With initial date of 1969-04-25 and a custom format dd/MM/yyyy

Select a date
↓ ↓ ↑ ↑ April
S M T W T F S
30 31 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 1 2 3
4 5 6 7 8 9 10

1968 1969 1970

\

In German:

Select a date
↓ ↓ ↑ ↑ Juni
M D M D F S S
29 30 31 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 1 2
3 4 5 6 7 8 9

2005 2006 2007

In Dutch:

Select a date
↓ ↓ ↑ ↑ juni
M D W D V Z Z
29 30 31 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 1 2
3 4 5 6 7 8 9

2005 2006 2007

In Japanese:

Select a date
↓ ↓ ↑ ↑ 6 月
29 30 31 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 1 2
3 4 5 6 7 8 9

2005年 2006年 2007年

In Chinese (PRC):

Select a date
↓ ↓ ↑ ↑ 六月
28 29 30 31 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 1
2 3 4 5 6 7 8

2005年 2006年 2007年

In Chinese (Taiwan):

Select a date
↓ ↓ ↑ ↑ 六月
28 29 30 31 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 1
2 3 4 5 6 7 8

2005年 2006年 2007年

US format with initial date of 2006-06-26 and long formatting (parse not supported)

Select a date
↓ ↓ ↑ ↑ June
S M T W T F S
28 29 30 31 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 1
2 3 4 5 6 7 8

2005 2006 2007

German format with initial date of 2006-06-26 and long formatting (parse not supported)

Select a date
↓ ↓ ↑ ↑ Juni
M D M D F S S
29 30 31 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 1 2
3 4 5 6 7 8 9

2005 2006 2007

Value sent as RFC3339

Select a date
↓ ↓ ↑ ↑ June
S M T W T F S
28 29 30 31 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 1
2 3 4 5 6 7 8

2005 2006 2007

Custom save format: yyyy!dd!mm

Select a date
↓ ↓ ↑ ↑ June
S M T W T F S
28 29 30 31 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 1
2 3 4 5 6 7 8

2005 2006 2007

Value sent as time since Unix Epoch

Select a date
↓ ↓ ↑ ↑ June
S M T W T F S
28 29 30 31 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 1
2 3 4 5 6 7 8

2005 2006 2007



These are broken tests for trac tickets:
Wipe: with startDate="2006-10-10" (inputNode is not updating when clicking a date ticket #1694) Select a date
↓ ↓ ↑ ↑ July
S M T W T F S
29 30 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 8 9

2024 2025 2026


Explode: testing invalid initial value of "oiwerwerw" (should render as no value provided not NaN/NaN/NaN ticket #1692) Select a date
↓ ↓ ↑ ↑ undefined
S M T W T F S
NaN NaN NaN NaN NaN NaN NaN
NaN NaN NaN NaN NaN NaN NaN
NaN NaN NaN NaN NaN NaN NaN
NaN NaN NaN NaN NaN NaN NaN
NaN NaN NaN NaN NaN NaN NaN
NaN NaN NaN NaN NaN NaN NaN

0NaN 0NaN 0NaN



DEBUG: invalid date string: oiwerwerw
DEBUG: DEPRECATED: dojo.widget.DropdownDatePicker date attributes must be passed in Rfc3339 format -- will be removed in version: 0.5