docs(sqlite): fix typo - unixtime() -> unixepoch() (#3271)

This commit is contained in:
Joel Koen 2024-06-07 18:51:52 +10:00 committed by GitHub
parent 0ea90881c1
commit 1388fc8acc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,7 +60,7 @@
//! A number of possible formats are tried; see `sqlx-sqlite/src/types/chrono.rs` for the current
//! set of formats.
//! * If `INTEGER`, it is expected to be the number of seconds since January 1, 1970 00:00 UTC,
//! as if returned from the `unixtime()` function (without the `subsec` modifier).
//! as if returned from the `unixepoch()` function (without the `subsec` modifier).
//! * If `REAL`, it is expected to be the (possibly fractional) number of days since the Julian epoch,
//! November 24, 4714 BCE 12:00 UTC, as if returned from the `julianday()` function.
//!