fix(engine): use UTC time for result timestamps #140

Merged
fuzzy merged 1 commit from fix/0098-utc-timestamps into main 2026-07-05 17:04:55 +00:00
Owner

What

Use time.gmtime() instead of local time in _write_result for producing UTC timestamps.

Why

Reproducible timestamps across environments; avoids DST ambiguity.

Testing

  • 145 unit tests pass
  • Pre-commit hooks pass

Closes #98

## What Use `time.gmtime()` instead of local time in `_write_result` for producing UTC timestamps. ## Why Reproducible timestamps across environments; avoids DST ambiguity. ## Testing - [x] 145 unit tests pass - [x] Pre-commit hooks pass Closes #98
fix(engine): use UTC time for result timestamps
All checks were successful
CI / test (pull_request) Successful in 53s
CI / lint (pull_request) Successful in 1m18s
55a72b4d33
Ensures reproducible timestamps across environments and avoids
DST ambiguity.
Closes #98
fuzzy force-pushed fix/0098-utc-timestamps from 55a72b4d33
All checks were successful
CI / test (pull_request) Successful in 53s
CI / lint (pull_request) Successful in 1m18s
to 73182b622c
All checks were successful
CI / test (pull_request) Successful in 48s
CI / lint (pull_request) Successful in 1m23s
2026-07-05 17:00:45 +00:00
Compare
fuzzy self-assigned this 2026-07-05 17:01:16 +00:00
the.auditor left a comment

Automated Review — PR #140

Result: APPROVED


One-line fix — adds time.gmtime() to _write_result timestamp for UTC instead of local time. Reproducible across environments, no DST ambiguity. Closes #98.

No suggestions.

## Automated Review — PR #140 **Result: APPROVED** --- One-line fix — adds `time.gmtime()` to `_write_result` timestamp for UTC instead of local time. Reproducible across environments, no DST ambiguity. Closes #98. No suggestions.
fuzzy merged commit 73182b622c into main 2026-07-05 17:04:55 +00:00
fuzzy deleted branch fix/0098-utc-timestamps 2026-07-05 17:04:55 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 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!140
No description provided.