File tree Expand file tree Collapse file tree 2 files changed +25
-25
lines changed
tests/draft7/optional/format Expand file tree Collapse file tree 2 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 8
8
"data" : " 1963-06-19T08:30:06.283185Z" ,
9
9
"valid" : true
10
10
},
11
+ {
12
+ "description" : " a valid date-time string without second fraction" ,
13
+ "data" : " 1963-06-19T08:30:06Z" ,
14
+ "valid" : true
15
+ },
16
+ {
17
+ "description" : " a valid date-time string with plus offset" ,
18
+ "data" : " 1937-01-01T12:00:27.87+00:20" ,
19
+ "valid" : true
20
+ },
21
+ {
22
+ "description" : " a valid date-time string with minus offset" ,
23
+ "data" : " 1990-12-31T15:59:50.123-08:00" ,
24
+ "valid" : true
25
+ },
26
+ {
27
+ "description" : " a invalid day in date-time string" ,
28
+ "data" : " 1990-02-31T15:59:60.123-08:00" ,
29
+ "valid" : false
30
+ },
31
+ {
32
+ "description" : " an invalid offset in date-time string" ,
33
+ "data" : " 1990-12-31T15:59:60-24:00" ,
34
+ "valid" : false
35
+ },
11
36
{
12
37
"description" : " an invalid date-time string" ,
13
38
"data" : " 06/19/1963 08:30:06 PST" ,
Original file line number Diff line number Diff line change 8
8
"data" : " 1963-06-19" ,
9
9
"valid" : true
10
10
},
11
- {
12
- "description" : " a valid date-time string without second fraction" ,
13
- "data" : " 1963-06-19T08:30:06Z" ,
14
- "valid" : true
15
- },
16
- {
17
- "description" : " a valid date-time string with plus offset" ,
18
- "data" : " 1937-01-01T12:00:27.87+00:20" ,
19
- "valid" : true
20
- },
21
- {
22
- "description" : " a valid date-time string with minus offset" ,
23
- "data" : " 1990-12-31T15:59:50.123-08:00" ,
24
- "valid" : true
25
- },
26
- {
27
- "description" : " a invalid day in date-time string" ,
28
- "data" : " 1990-02-31T15:59:60.123-08:00" ,
29
- "valid" : false
30
- },
31
- {
32
- "description" : " an invalid offset in date-time string" ,
33
- "data" : " 1990-12-31T15:59:60-24:00" ,
34
- "valid" : false
35
- },
36
11
{
37
12
"description" : " an invalid date-time string" ,
38
13
"data" : " 06/19/1963" ,
You can’t perform that action at this time.
0 commit comments