Eliminate DateTimeTz and just stick to chrono DateTime with a FixedOffset #129
No reviewers
Labels
No Label
hex-grid
maintenance
music-player
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: savanni/monorepo#129
Loading…
Reference in New Issue
No description provided.
Delete Branch "emseries/streamlined-timestamps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
DateTimeTz existed to try to work around storing dates and times while also preserving the timezone. The naive date is supposed to be the date that the person originally recorded the record in, no matter what time zone the person is now in.
However, I think if I record a date with the offset, and manage to re-read that date along with the offset, I can still ask DateTime for the naive_date and get the correct answer.