Skip to content

Commit 2edc74b

Browse files
committed
Add valid time with different second fractions
1 parent 7bde0bf commit 2edc74b

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

tests/draft2019-09/optional/format/time.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
},
2121
{
2222
"description": "a valid time string with second fraction",
23+
"data": "23:20:50.52Z",
24+
"valid": true
25+
},
26+
{
27+
"description": "a valid time string with precise second fraction",
2328
"data": "08:30:06.283185Z",
2429
"valid": true
2530
},

tests/draft2020-12/optional/format/time.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
},
2121
{
2222
"description": "a valid time string with second fraction",
23+
"data": "23:20:50.52Z",
24+
"valid": true
25+
},
26+
{
27+
"description": "a valid time string with precise second fraction",
2328
"data": "08:30:06.283185Z",
2429
"valid": true
2530
},

tests/draft7/optional/format/time.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
},
2121
{
2222
"description": "a valid time string with second fraction",
23+
"data": "23:20:50.52Z",
24+
"valid": true
25+
},
26+
{
27+
"description": "a valid time string with precise second fraction",
2328
"data": "08:30:06.283185Z",
2429
"valid": true
2530
},

0 commit comments

Comments
 (0)