Skip to main content

Module timezone

Module timezone 

Source
Expand description

The per-user timezone config: the zone a user’s report dates are read in.

Enums§

Tz
TimeZones built at compile time from the tz database

Constants§

KEY
The config key holding an IANA zone name; unset means UTC.

Functions§

display
at as YYYY-MM-DD HH:MM on the clock of zone.
is_key
Whether field is the timezone key, as the config table folds case.
local_day
The calendar day now falls on in zone.
parse_zone
The zone named name, or the reason it is unknown.
zone_on
The user’s zone on conn; UTC when unset.