fix(log): use UTC timestamps with Z suffix in JSON formatter #148
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/kronai!148
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/0107-json-utc-timestamps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Set
self.converter = time.gmtimeonJSONFormatterand appendZto the timestamp format for unambiguous ISO 8601 timestamps.Why
Local time timestamps without timezone info are ambiguous.
Testing
Closes #107
Automated Review — PR #148
Result: APPROVED
Clean fix — sets
self.converter = time.gmtimeand appendsZto JSON timestamp format for unambiguous UTC timestamps. Closes #107.No suggestions.