Loading
Commits on Source 7
-
cznic authored
-
cznic authored
-
Josh Bleecher Snyder authored
_timezone accepts an IANA timezone name, such as "UTC", and applies it to both reads and writes. For writes, time.Time values are converted to the target timezone before formatting. For reads, timezone-less strings are interpreted as being in the target timezone. Supporting configuration at the DB driver level helps avoid industrial accidents when working with SQLite datetime strings, which lack time zones.
-
Josh Bleecher Snyder authored
So that time.Times may be formatted identically to how SQLite does it natively with datetime and CURRENT_TIMESTAMP.
-
cznic authored