Versions in this module Expand all Collapse all v1 v1.0.5 Aug 23, 2026 Changes in this version + var ErrEmptyZoneName = errors.New("zone: el nombre de la zona horaria no puede estar vacío") + var ErrInvalidZone = errors.New("zone: zona horaria no válida") + func CommonZones() []string + func Difference(zoneA, zoneB string, at time.Time) (time.Duration, error) + func FormatOffset(offsetSeconds int) string + func IsDST(zoneName string, at time.Time) (bool, error) + func IsValid(zoneName string) bool + func LoadLocation(zoneName string) (*time.Location, error) + func Normalize(zoneName string) (string, error) + func RegisterAlias(alias, ianaZone string) error + type Detail struct + Abbreviation string + DifferenceToUTC time.Duration + IsDST bool + LocalTime time.Time + OffsetFormatted string + OffsetSeconds int + ZoneName string + func GetInfo(zoneName string, at time.Time) (Detail, error) + type Snapshot struct + Abbreviation string + Formatted string + IsDST bool + OffsetFormatted string + Time time.Time + TimeUTC string + Zone string v1.0.4 Aug 23, 2026