Skip to content

fix: use consistent TZ - #24

Merged
christiam merged 1 commit into
masterfrom
fix-timestamp-triggers
Aug 7, 2026
Merged

christiam merged 1 commit into
masterfrom
fix-timestamp-triggers

Conversation

@christiam

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a timezone inconsistency in the SQLite DDL trigger that backfills runtime.started_at from finished_at, ensuring both timestamps are computed/stored in the same timezone basis.

Changes:

  • Adjust started_at computation to convert finished_at (stored as local time) to epoch using UTC conversion, then convert the computed epoch back to local time.
  • Ensures runtime.started_at and runtime.finished_at are consistently stored as local time strings.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@christiam
christiam merged commit e15ff57 into master Aug 7, 2026
2 checks passed
@christiam
christiam deleted the fix-timestamp-triggers branch August 7, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants