Skip to content

Commit 7bde0bf

Browse files
committed
Add valid time with leap second including offset
1 parent ee83f46 commit 7bde0bf

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
@@ -13,6 +13,11 @@
1313
"data": "23:59:60Z",
1414
"valid": true
1515
},
16+
{
17+
"description": "a valid time string with leap second with offset",
18+
"data": "15:59:60-08:00",
19+
"valid": true
20+
},
1621
{
1722
"description": "a valid time string with second fraction",
1823
"data": "08:30:06.283185Z",

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
"data": "23:59:60Z",
1414
"valid": true
1515
},
16+
{
17+
"description": "a valid time string with leap second with offset",
18+
"data": "15:59:60-08:00",
19+
"valid": true
20+
},
1621
{
1722
"description": "a valid time string with second fraction",
1823
"data": "08:30:06.283185Z",

tests/draft7/optional/format/time.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
"data": "23:59:60Z",
1414
"valid": true
1515
},
16+
{
17+
"description": "a valid time string with leap second with offset",
18+
"data": "15:59:60-08:00",
19+
"valid": true
20+
},
1621
{
1722
"description": "a valid time string with second fraction",
1823
"data": "08:30:06.283185Z",

0 commit comments

Comments
 (0)