Skip to content

fix(database): standardize achievedAt to ISO-8601 and harden date parsing#81

Merged
BoxBoxJason merged 1 commit into
mainfrom
fix/66-achievedat-timestamp-format
Jul 14, 2026
Merged

fix(database): standardize achievedAt to ISO-8601 and harden date parsing#81
BoxBoxJason merged 1 commit into
mainfrom
fix/66-achievedat-timestamp-format

Conversation

@BoxBoxJason

@BoxBoxJason BoxBoxJason commented Jul 14, 2026

Copy link
Copy Markdown
Owner

This PR standardizes time format for achievedAt across the codebase.
There was currently a conflict between the default SQL CURRENT_TIMESTAMP and the one we arbitrarely decided on.
This aligns them by using only javascript one, and for backwards compatibility, the time decoding function has been adapted to support both.

Fixes #66

…sing

Signed-off-by: BoxBoxJason <contact@boxboxjason.dev>
@BoxBoxJason BoxBoxJason self-assigned this Jul 14, 2026
@BoxBoxJason BoxBoxJason added bug Something isn't working code Requires coding skills stability labels Jul 14, 2026
@BoxBoxJason BoxBoxJason merged commit 005dcf3 into main Jul 14, 2026
4 checks passed
@BoxBoxJason BoxBoxJason deleted the fix/66-achievedat-timestamp-format branch July 14, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working code Requires coding skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] achievedAt is stored in two different timestamp formats

1 participant