Skip to content

Commit

Permalink
Choose an example ZonedDateTime.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTedder committed Jul 20, 2024
1 parent 6c49939 commit b91965c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions LeaderboardBackend/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@
c.ConfigureForNodaTimeWithSystemTextJson(jsonSerializerOptions, null, null, true, new(DateTimeZoneProviders.Tzdb)
{
Instant = Instant.FromUtc(1984, 1, 1, 0, 0),
ZonedDateTime = ZonedDateTime.FromDateTimeOffset(new(new DateTime(2000, 1, 1)))
});
});

Expand Down
2 changes: 1 addition & 1 deletion LeaderboardBackend/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@
"type": "string",
"description": "The date the `Run` was played on.",
"format": "date",
"example": "2024-07-18"
"example": "2000-01-01"
},
"submittedAt": {
"type": "string",
Expand Down

0 comments on commit b91965c

Please sign in to comment.