r-datetimeoffset
Datetimes with Optional UTC Offsets and/or Heterogeneous Time Zones
A datetime type built for the messy metadata formats everyone else rounds off.
◆Recent moves
- 1y ago
1.0.0 raises the clock requirement; no functional change
Despite the 1.0.0 label, the only change is raising the required clock version to 0.7.3. The version number marks the author's confidence in a stable API rather than any new behaviour.
View source ↗ - 1y ago
TOML output mode and support for time-only values
Adds a TOML mode to format_iso8601(), teaches the parser and formatters to handle times with no associated date, and adds a get_tz() method for Date objects. Squarely in the package's pattern of absorbing one more real-world dialect per release.
View source ↗ - 3y ago
pdfmark prefix option and clock ambiguity handling
format_pdfmark() gains a prefix argument and the clock conversion method picks up ambiguous, nonexistent and fill handling where the installed clock supports it. Small refinements to two of the package's core output paths.
View source ↗ - 3y ago
exiftool and XMP output formats
Adds exiftool-format output, an XMP mode for ISO 8601, numeric coercion into the year field, and pdfmark parsing with a trailing Z offset. Each addition maps the type onto another metadata tool's expectations.
View source ↗ - 3y ago
Initial release: a datetime record with optional offsets and zones
⚡ SPARKThe initial release, defining the whole package: a vctrs record type whose fields may individually be missing, whose time zones need not be homogeneous, and a set of formatters covering ISO 8601, EDTF, pdfmark, nanotime and strftime. Every later release extends this surface rather than revising it.
View source ↗