Skip to content

Commit 38ea151

Browse files
authored
Merge pull request #604 from santhosh-tekuri/time-offset
Add time format test with second fraction, no offset
2 parents 86c2517 + 613ec17 commit 38ea151

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

tests/draft-next/optional/format/time.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@
191191
"data": "12:00:00",
192192
"valid": false
193193
},
194+
{
195+
"description": "no time offset with second fraction",
196+
"data": "12:00:00.52",
197+
"valid": false
198+
},
194199
{
195200
"description": "invalid non-ASCII '২' (a Bengali 2)",
196201
"data": "1২:00:00Z",

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@
191191
"data": "12:00:00",
192192
"valid": false
193193
},
194+
{
195+
"description": "no time offset with second fraction",
196+
"data": "12:00:00.52",
197+
"valid": false
198+
},
194199
{
195200
"description": "invalid non-ASCII '২' (a Bengali 2)",
196201
"data": "1২:00:00Z",

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@
191191
"data": "12:00:00",
192192
"valid": false
193193
},
194+
{
195+
"description": "no time offset with second fraction",
196+
"data": "12:00:00.52",
197+
"valid": false
198+
},
194199
{
195200
"description": "invalid non-ASCII '২' (a Bengali 2)",
196201
"data": "1২:00:00Z",

tests/draft7/optional/format/time.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,11 @@
188188
"data": "12:00:00",
189189
"valid": false
190190
},
191+
{
192+
"description": "no time offset with second fraction",
193+
"data": "12:00:00.52",
194+
"valid": false
195+
},
191196
{
192197
"description": "invalid non-ASCII '২' (a Bengali 2)",
193198
"data": "1২:00:00Z",

0 commit comments

Comments
 (0)