Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upHandle `DateTime` in addition to `NaiveDateTime` #295
Comments
sgrif
added
the
discussion desired
label
Apr 22, 2016
sgrif
referenced this issue
Apr 22, 2016
Closed
Error when using DateTime in postgres insertable #294
This comment has been minimized.
|
What about supporting
EDIT: related to #106 |
This comment has been minimized.
|
Yes that is the plan On Wed, May 4, 2016, 1:49 PM Adam Perry notifications@github.com wrote:
|
added a commit
that referenced
this issue
Aug 18, 2016
added a commit
that referenced
this issue
Aug 18, 2016
added a commit
that referenced
this issue
Aug 18, 2016
added a commit
that referenced
this issue
Aug 18, 2016
sgrif
closed this
in
#409
Aug 18, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sgrif commentedApr 22, 2016
People trying to use
DateTime<UTC>is really common. Perhaps we should write animpl<TZ> ToSql<Timestamp, Pg> for DateTime<TZ>andimpl FromSql<Timestamp, Pg> for DateTime<UTC>, where theToSqlimpl converts to UTC. I'm concerned this implies more guarantees than exist though, as the database does not contain TZ information on a normaltimestamptype column.