File tree Expand file tree Collapse file tree 4 files changed +80
-0
lines changed
draft-next/optional/format
draft2019-09/optional/format
draft2020-12/optional/format Expand file tree Collapse file tree 4 files changed +80
-0
lines changed Original file line number Diff line number Diff line change 41
41
"data" : " 08:30:06Z" ,
42
42
"valid" : true
43
43
},
44
+ {
45
+ "description" : " invalid time string with extra leading zeros" ,
46
+ "data" : " 008:030:006Z" ,
47
+ "valid" : false
48
+ },
49
+ {
50
+ "description" : " invalid time string with no leading zero for single digit" ,
51
+ "data" : " 8:3:6Z" ,
52
+ "valid" : false
53
+ },
54
+ {
55
+ "description" : " hour, minute, second must be two digits" ,
56
+ "data" : " 8:0030:6Z" ,
57
+ "valid" : false
58
+ },
44
59
{
45
60
"description" : " a valid time string with leap second, Zulu" ,
46
61
"data" : " 23:59:60Z" ,
131
146
"data" : " 08:30:06-08:00" ,
132
147
"valid" : true
133
148
},
149
+ {
150
+ "description" : " hour, minute in time-offset must be two digits" ,
151
+ "data" : " 08:30:06-8:000" ,
152
+ "valid" : false
153
+ },
134
154
{
135
155
"description" : " a valid time string with case-insensitive Z" ,
136
156
"data" : " 08:30:06z" ,
Original file line number Diff line number Diff line change 41
41
"data" : " 08:30:06Z" ,
42
42
"valid" : true
43
43
},
44
+ {
45
+ "description" : " invalid time string with extra leading zeros" ,
46
+ "data" : " 008:030:006Z" ,
47
+ "valid" : false
48
+ },
49
+ {
50
+ "description" : " invalid time string with no leading zero for single digit" ,
51
+ "data" : " 8:3:6Z" ,
52
+ "valid" : false
53
+ },
54
+ {
55
+ "description" : " hour, minute, second must be two digits" ,
56
+ "data" : " 8:0030:6Z" ,
57
+ "valid" : false
58
+ },
44
59
{
45
60
"description" : " a valid time string with leap second, Zulu" ,
46
61
"data" : " 23:59:60Z" ,
131
146
"data" : " 08:30:06-08:00" ,
132
147
"valid" : true
133
148
},
149
+ {
150
+ "description" : " hour, minute in time-offset must be two digits" ,
151
+ "data" : " 08:30:06-8:000" ,
152
+ "valid" : false
153
+ },
134
154
{
135
155
"description" : " a valid time string with case-insensitive Z" ,
136
156
"data" : " 08:30:06z" ,
Original file line number Diff line number Diff line change 41
41
"data" : " 08:30:06Z" ,
42
42
"valid" : true
43
43
},
44
+ {
45
+ "description" : " invalid time string with extra leading zeros" ,
46
+ "data" : " 008:030:006Z" ,
47
+ "valid" : false
48
+ },
49
+ {
50
+ "description" : " invalid time string with no leading zero for single digit" ,
51
+ "data" : " 8:3:6Z" ,
52
+ "valid" : false
53
+ },
54
+ {
55
+ "description" : " hour, minute, second must be two digits" ,
56
+ "data" : " 8:0030:6Z" ,
57
+ "valid" : false
58
+ },
44
59
{
45
60
"description" : " a valid time string with leap second, Zulu" ,
46
61
"data" : " 23:59:60Z" ,
131
146
"data" : " 08:30:06-08:00" ,
132
147
"valid" : true
133
148
},
149
+ {
150
+ "description" : " hour, minute in time-offset must be two digits" ,
151
+ "data" : " 08:30:06-8:000" ,
152
+ "valid" : false
153
+ },
134
154
{
135
155
"description" : " a valid time string with case-insensitive Z" ,
136
156
"data" : " 08:30:06z" ,
Original file line number Diff line number Diff line change 38
38
"data" : " 08:30:06Z" ,
39
39
"valid" : true
40
40
},
41
+ {
42
+ "description" : " invalid time string with extra leading zeros" ,
43
+ "data" : " 008:030:006Z" ,
44
+ "valid" : false
45
+ },
46
+ {
47
+ "description" : " invalid time string with no leading zero for single digit" ,
48
+ "data" : " 8:3:6Z" ,
49
+ "valid" : false
50
+ },
51
+ {
52
+ "description" : " hour, minute, second must be two digits" ,
53
+ "data" : " 8:0030:6Z" ,
54
+ "valid" : false
55
+ },
41
56
{
42
57
"description" : " a valid time string with leap second, Zulu" ,
43
58
"data" : " 23:59:60Z" ,
128
143
"data" : " 08:30:06-08:00" ,
129
144
"valid" : true
130
145
},
146
+ {
147
+ "description" : " hour, minute in time-offset must be two digits" ,
148
+ "data" : " 08:30:06-8:000" ,
149
+ "valid" : false
150
+ },
131
151
{
132
152
"description" : " a valid time string with case-insensitive Z" ,
133
153
"data" : " 08:30:06z" ,
You can’t perform that action at this time.
0 commit comments