Skip to content

Commit

Permalink
test: Fix expected datetime patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Jan 10, 2025
1 parent 0e0ae07 commit 70c512e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/schemacode/src/bidsschematools/tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ def test_formats(schema_obj):
"2022-01-05T13:16:30",
"2022-01-05T13:16:30.5", # subsecond resolution is allowed
"2022-01-05T13:16:30.000005", # up to 6 decimal points
"2022-01-05T13:16:30UTC", # timezones are allowed
"2022-01-05T13:16:30.05UTC",
"2022-01-05T13:16:30Z", # UTC indicator is allowed
"2022-01-05T13:16:30.05Z",
"2022-01-05T13:16:30+01:00", # integral offsets are allowed
"2022-01-05T13:16:30-05:00",
],
"time": [
"13:16:30",
Expand Down

0 comments on commit 70c512e

Please sign in to comment.