Hi! I've been using UtcDateTimes to store dates in a database.
However, for all the time crate types that rusqlite supports under the time feature, UtcDateTime is not one of them - despite other time-like crates having support for their types that assume a timezone of UTC.
While it's not necessarily hard to write a newtype that allows me to store a UtcDateTime (in fact, I've already written one), it would be nice for rusqlite to support UtcDateTime without extra effort for me.
If this gets added to rusqlite, thank you in advance. :)
Hi! I've been using
UtcDateTimes to store dates in a database.However, for all the
timecrate types thatrusqlitesupports under thetimefeature,UtcDateTimeis not one of them - despite other time-like crates having support for their types that assume a timezone of UTC.While it's not necessarily hard to write a newtype that allows me to store a
UtcDateTime(in fact, I've already written one), it would be nice forrusqliteto supportUtcDateTimewithout extra effort for me.If this gets added to
rusqlite, thank you in advance. :)