Dates, times and time zones
IANA time zone tables with aliases, abbreviations and offsets, RFC 3339 helpers, date formats by country, and checkers for out-of-order timestamps and missed deadlines.
15 shown here, each at the exact version the library release of October 9, 2026 serves.
What to watch for
- An abbreviation such as CST or IST names more than one zone, so store the IANA name.
- Some offsets are not whole hours, such as +05:30 and +05:45.
- 03/04 is March 4 in one country and 3 April in another.
Test packs and checks
Every IANA time zone identifier, including link names
time-zones-names.jsonEvery IANA time zone identifier, including link (alias) names: 418 rows with a JSON Schema, a checked loader and tests.
- Rows
- 418
- Data file
- data/time-zones-names.json
Time zones with abbreviations, UTC offsets and daylight saving
timezones.jsonTime zones with abbreviations, UTC offsets, daylight saving and their IANA zone names: 108 rows with a JSON Schema, a checked loader and tests.
- Rows
- 108
- Data file
- data/timezones.json
Time zone long names and their common abbreviations
abbreviations.jsonTime zone long names and their common abbreviations (e.g.
- Rows
- 272
- Data file
- data/abbreviations.json
Conventional date format by country with ISO country and language codes
date-formats.jsonConventional date format by country with ISO country and language codes: 95 rows with a JSON Schema, a checked loader and tests.
- Rows
- 95
- Data file
- data/date-formats.json
US federal holidays with their date rules
federal_holidays.csvUS federal holidays with date rule, official name, year established and details: 11 rows with a JSON Schema, a checked loader and tests.
- Rows
- 11
- Data file
- data/federal_holidays.csv
datetime_utcoffset from pyRFC3339
datetime_utcoffsetdatetime_utcoffset from pyRFC3339: Return the UTC offset for an aware :class:`datetime.datetime` in seconds.
- Function
- datetime_utcoffset
- Project
- pyRFC3339
generate from pyRFC3339
generategenerate from pyRFC3339: Generate an :RFC:`3339`-formatted timestamp from a :class:`datetime.datetime`.
- Function
- generate
- Project
- pyRFC3339
parse_date_time from RDFLib
parse_date_timeparse_date_time from RDFLib (RDF terms, N3 and JSON-LD helpers): always returns seconds in UTC One tested Python function, copied with the code it needs.
- Function
- parse_date_time
- Project
- RDFLib (RDF terms, N3 and JSON-LD helpers)
format_timestamp from Tornado httputil
format_timestampformat_timestamp from Tornado httputil: Formats a timestamp in the format used by HTTP.
- Function
- format_timestamp
- Project
- Tornado httputil
jday from sgp4
jdayjday from sgp4 (satellite orbit propagation: Julian date helpers): Return two floats that, when added, produce the specified Julian date.
- Function
- jday
- Project
- sgp4 (satellite orbit propagation
Records retention and disposition date calculator
records_retention_scheduleApply a retention schedule to records: find each trigger date, add the retention period, and mark records due, due soon, on legal hold, waiting for their trigger or retained, with file names checked against a naming pattern.
- Runs with
- Python 3.10 or later
- Command
python3 records_retention_schedule.py < input.json
Operational log completeness and order audit
record_log_auditorAudit an operational log for missing required fields, unreadable or out-of-order timestamps, repeated ids, sequence gaps and repeats, and missing days or hours per group against a period, with coverage shares.
- Runs with
- Python 3.10 or later
- Command
python3 record_log_auditor.py < input.json
Measure statistical release timeliness and punctuality against an advance release calendar
baltor_statistical_release_timelinessMeasure statistical release timeliness and punctuality against an advance release calendar: lag from the end of the reference period, delay against the pre-announced date, announcement notice and declared maximum lags, per dataset and overall.
- Command
python3 -B scripts/tool.py < examples/example.input.json- Input fields
- audit_date, releases
Audit public records request timeliness against a statutory deadline
baltor_records_request_timelinessAudit public records request timeliness against a declared statutory deadline in calendar or working days, with holidays, clock stops and extensions, reporting on-time, late and overdue open requests at an audit date.
- Command
python3 -B scripts/tool.py < examples/example.input.json- Input fields
- audit_date, deadline_rule, weekend_days, holidays, requests
Audit one stop-direction service window's departures for interior headway gaps
baltor_transit_headway_auditAudit one stop-direction service window's departures for interior headway gaps, simultaneous departures and unobserved boundary periods using explicit service-day time semantics.
- Command
python3 -B scripts/tool.py < examples/example.input.json- Input fields
- service_date, clock_basis, window_start, window_end, headway_limit_seconds, observation_complete, departures
Give your agent these components
Your harness downloads them through Baltor with Pro, $49 a month. Cancel any time from your account page.
More from Corner cases
- Text, Unicode and encodingsLook-alike Unicode characters, Unicode blocks and emoji tables, base64 and base58 validators, and normalizers for whitespace, Unicode and personal data in free text.
- Numbers, currencies and localesDecimal and group separators by locale, currency formats and their minor units, phone number formats, radix parsing and exact comparison of two proportions.
- CSV files and recordsColumn profiles, field rule checks, merges of several sources and duplicate finders for CSV records.
- Names, addresses and identifiersAddress line parsing, name capitalisation, company suffixes, email and website repair, postal code formats for 246 countries, and validators with check digits.
- JSON Schema and API requestsJSON Schema 2020-12 conformance test groups, and API request cases that each change one field of a valid request and expect exactly one validation error.
- Files, transfers and 3D exportsFile transfers in checked parts, glTF and Godot checkers that catch lost animation and joints, and conformance tools for TOML parsers, HTTP/2 servers and Matroska files.
- Deterministic skillsSkills that give the same answer every time.
- Harness toolsTools your coding agent can call.
- Data cleanup with and without BaltorWe measured library items against no item on a data cleanup task. They did not help on this test, and one item made results worse.
- Expertise for the whole teamFor a team lead who wants the same skills, tools and files available to every person and every agent on the team.
- What it is and what it costsWhat Baltor is, what stays in your environment and what it costs, for someone comparing tools before anything else.
- Harness FilesSkills, instruction files, tools, hooks and settings your harness picks up: what they are, how a harness gets them, and the setup for each harness.
- GalleryBrowse Baltor's original Godot shaders, procedural textures, meshes and Blender tools, each with the render its engine check recorded.