timezone

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultName = "UTC"

Variables

This section is empty.

Functions

func MustResolve

func MustResolve(name string) *time.Location

MustResolve is a convenience helper for initialization code.

func Resolve

func Resolve(name string) (*time.Location, string, error)

Resolve returns a loadable time.Location for the provided timezone name. Empty names fall back to UTC so the rest of the system stays deterministic.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL