Skip to content

Use timezone-aware UTC timestamps#281

Merged
kujaku11 merged 2 commits intomainfrom
patches
Apr 9, 2026
Merged

Use timezone-aware UTC timestamps#281
kujaku11 merged 2 commits intomainfrom
patches

Conversation

@kujaku11
Copy link
Copy Markdown
Owner

@kujaku11 kujaku11 commented Apr 9, 2026

Replace naive UTC helpers with timezone-aware equivalents to avoid local timezone issues. Use pd.Timestamp.fromtimestamp(..., tz='UTC') when parsing epoch values and pd.Timestamp.now(tz='UTC') for MTime.time_stamp so timestamps are explicitly UTC and timezone-aware, ensuring consistent behavior across environments.

Replace naive UTC helpers with timezone-aware equivalents to avoid local timezone issues. Use pd.Timestamp.fromtimestamp(..., tz='UTC') when parsing epoch values and pd.Timestamp.now(tz='UTC') for MTime.time_stamp so timestamps are explicitly UTC and timezone-aware, ensuring consistent behavior across environments.
@kujaku11 kujaku11 self-assigned this Apr 9, 2026
@kujaku11 kujaku11 added the release:patch patch release label Apr 9, 2026
@kujaku11 kujaku11 merged commit e26900a into main Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:patch patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant