fix(log): use UTC timestamps with Z suffix in JSON formatter #148

Merged
fuzzy merged 1 commit from fix/0107-json-utc-timestamps into main 2026-07-05 17:45:21 +00:00
Owner

What

Set self.converter = time.gmtime on JSONFormatter and append Z to the timestamp format for unambiguous ISO 8601 timestamps.

Why

Local time timestamps without timezone info are ambiguous.

Testing

  • 145 unit tests pass
  • Pre-commit hooks pass

Closes #107

## What Set `self.converter = time.gmtime` on `JSONFormatter` and append `Z` to the timestamp format for unambiguous ISO 8601 timestamps. ## Why Local time timestamps without timezone info are ambiguous. ## Testing - [x] 145 unit tests pass - [x] Pre-commit hooks pass Closes #107
fix(log): use UTC timestamps with Z suffix in JSON formatter
All checks were successful
CI / test (pull_request) Successful in 47s
CI / lint (pull_request) Successful in 1m20s
66d997adc2
Sets converter to time.gmtime and appends Z to format string
for unambiguous ISO 8601 timestamps.
Closes #107
fuzzy self-assigned this 2026-07-05 17:44:52 +00:00
the.auditor left a comment

Automated Review — PR #148

Result: APPROVED


Clean fix — sets self.converter = time.gmtime and appends Z to JSON timestamp format for unambiguous UTC timestamps. Closes #107.

No suggestions.

## Automated Review — PR #148 **Result: APPROVED** --- Clean fix — sets `self.converter = time.gmtime` and appends `Z` to JSON timestamp format for unambiguous UTC timestamps. Closes #107. No suggestions.
fuzzy scheduled this pull request to auto merge when all checks succeed 2026-07-05 17:45:05 +00:00
fuzzy merged commit 66d997adc2 into main 2026-07-05 17:45:21 +00:00
fuzzy deleted branch fix/0107-json-utc-timestamps 2026-07-05 17:45:22 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/kronai!148
No description provided.