Documentation
¶
Overview ¶
Package reportday is the Report day of ADR 0057: a calendar day in the Workspace time zone. It loads the zone and cuts a trailing window of whole local days, so every report counts days the same way and a 23- or 25-hour day at a daylight-saving change is one bucket.
Index ¶
Constants ¶
View Source
const Format = "2006-01-02"
Format is the layout of a Report day's label.
Variables ¶
View Source
var ErrUnknownZone = errors.New("unknown time zone")
ErrUnknownZone is a name the zone database does not know.
Functions ¶
func Load ¶
Load is the zone an IANA name stands for. The empty name and "Local" (the machine's zone, which no Workspace may depend on) are refused like any unknown name.
Types ¶
Click to show internal directories.
Click to hide internal directories.