Emseries now supports both DateTimeTz and Date in the records #43

Merged
savanni merged 4 commits from emseries/date-based-events into main 2023-05-25 13:07:31 +00:00
Owner

I have many records in my database that are meant to be a one-shot "this day" or "all-day" event, such as my weight or my step counter. In the past I have always hacked this with shenanigans around choosing DateTimes and manipulating timezones. Now, the records can have either a date or a DateTimeTz, and the parser will correctly detect which one to set on the record.

This is a breaking change on the API. The first of many.

I have many records in my database that are meant to be a one-shot "this day" or "all-day" event, such as my weight or my step counter. In the past I have always hacked this with shenanigans around choosing DateTimes and manipulating timezones. Now, the records can have either a date or a DateTimeTz, and the parser will correctly detect which one to set on the record. This is a breaking change on the API. The first of many.
savanni added 3 commits 2023-05-25 12:58:15 +00:00
savanni added 1 commit 2023-05-25 12:58:57 +00:00
savanni force-pushed emseries/date-based-events from 0daff9c14e to b7f5f4ba34 2023-05-25 13:07:23 +00:00 Compare
savanni merged commit b7f5f4ba34 into main 2023-05-25 13:07:31 +00:00
savanni deleted branch emseries/date-based-events 2023-05-25 13:07:31 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 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: savanni/monorepo#43
No description provided.