Skip to main content

zone_on

Function zone_on 

Source
pub async fn zone_on(conn: &mut PgConnection) -> Result<Tz, ConfigError>
Expand description

The user’s zone on conn; UTC when unset.

§Errors

ConfigError::Sqlx on a database error; ConfigError::InvalidTimezone when the stored value is not a zone, naming it and the way to fix it.