Skip to content

Commit

Permalink
Year 0 doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
arp242 committed Oct 13, 2023
1 parent 606f82e commit bb0392a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/valid/datetime/edge.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"first-date": {
"type": "date-local",
"value": "0000-01-01"
"value": "0001-01-01"
},
"first-local": {
"type": "datetime-local",
"value": "0000-01-01T00:00:00"
"value": "0001-01-01T00:00:00"
},
"first-offset": {
"type": "datetime",
"value": "0000-01-01T00:00:00Z"
"value": "0001-01-01T00:00:00Z"
},
"last-date": {
"type": "date-local",
Expand Down
6 changes: 3 additions & 3 deletions tests/valid/datetime/edge.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
first-offset = 0000-01-01 00:00:00Z
first-local = 0000-01-01 00:00:00
first-date = 0000-01-01
first-offset = 0001-01-01 00:00:00Z
first-local = 0001-01-01 00:00:00
first-date = 0001-01-01

last-offset = 9999-12-31 23:59:59Z
last-local = 9999-12-31 23:59:59
Expand Down

0 comments on commit bb0392a

Please sign in to comment.