Skip to content

fix(timestamp): 🐛 Make toExactHour UTC based and return NullObject for null - #91

Merged
haskou merged 1 commit into
masterfrom
fix/timestamp-exact-hour-null
Oct 2, 2026
Merged

haskou merged 1 commit into
masterfrom
fix/timestamp-exact-hour-null

Conversation

@haskou

@haskou haskou commented Oct 2, 2026

Copy link
Copy Markdown
Owner

toExactHour() rounded using local time, so results depended on the host timezone; it now truncates to the UTC hour. new Timestamp(null) returned the current time; it now returns a NullObject like other value objects, while undefined still means now. Includes tests and docs.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@codecov

codecov Bot commented Oct 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@haskou
haskou merged commit 4ef1136 into master Oct 2, 2026
3 checks passed
@haskou
haskou deleted the fix/timestamp-exact-hour-null branch October 2, 2026 23:37
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.

1 participant