Expand description
Locale-dependent timestamp parsing for MTG Arena log entries.
MTGA log timestamps vary by system locale. This module handles all known formats (11+ locale-dependent variants, epoch milliseconds, .NET ticks, and ISO 8601) and normalizes them to UTC.
Enums§
- Timestamp
Error - Error returned when a timestamp cannot be parsed.
Functions§
- parse_
dotnet_ ticks - Parses a .NET ticks value into a UTC datetime.
- parse_
epoch_ millis - Parses a Unix epoch milliseconds value into a UTC datetime.
- parse_
iso8601 - Parses an ISO 8601 datetime string into a UTC datetime.
- parse_
log_ timestamp - Parses a locale-dependent timestamp from an MTGA log entry header.