Skip to content

Apply timezone when mapping from Timestamp to chrono Date and DateTime#78

Open
t-rapp wants to merge 1 commit intokubo:masterfrom
t-rapp:tr-fromsql-timezone
Open

Apply timezone when mapping from Timestamp to chrono Date and DateTime#78
t-rapp wants to merge 1 commit intokubo:masterfrom
t-rapp:tr-fromsql-timezone

Conversation

@t-rapp
Copy link
Copy Markdown

@t-rapp t-rapp commented Nov 3, 2023

Update FromSql implementation of Date<Utc>, Date<Local>, DateTime<Utc>, and DateTime<Local> types to map the incoming timezone information, when available.

To explicitly ignore the timezone information use of the NaiveDate / NaiveDateTime types would be preferred.

Update FromSql implementation of Date<Utc>, Date<Local>, DateTime<Utc>,
and DateTime<Local> to map the incoming timezone information, when
available.

To explicitly ignore the timezone information use of the NaiveDate /
NaiveDateTime types would be preferred.
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