mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-25 10:34:51 +00:00
SQLite's CURRENT_TIMESTAMP keyword fills a DATETIME column as a UTC expressed string in the following format: "YYYY-MM-DD HH:MM:SS". Unfortunately, this format lacks the timezone information to safely build a time::OffsetDateTime. If all else fails, this patch will try to build it by assuming the missing timezine is UTC.