{{ message }}
Repository navigation
Commit 809cc1b
logarchive: parse log show JSON timestamps on Python 3.10
'log show --style json' writes the offset without a colon
(2026-03-14 10:00:00.100000-0500). datetime.fromisoformat() accepts that
only from 3.11, so on 3.10 the JSON import raised and imported nothing.
Normalize the offset and the fraction width before parsing, the same way
parse_iterator_timestamp already does for the native import.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 13e8264 commit 809cc1b
2 files changed
Lines changed: 32 additions & 10 deletions

0 commit comments