tzdata

package
v0.0.0-...-ac25dc5 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MIT, Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package tzdata loads only the embedded, pinned IANA timezone catalog. It has no operating-system or network fallback.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EquivalentNames

func EquivalentNames(canonical string) []string

EquivalentNames supplies historic aliases when locale data uses an older stable identifier. The canonical identifier itself is first.

func Lookup

func Lookup(name string) (string, *time.Location, bool)

Lookup accepts named catalog entries case-insensitively and reports the canonical identifier. A failed lookup performs no external resolution.

func Names

func Names() []string

func RegionNames

func RegionNames(region string) []string

Types

This section is empty.

Directories

Path Synopsis
cmd
importtz command
importtz selects TZif assets from the checksum-verified PSF tzdata wheel.
importtz selects TZif assets from the checksum-verified PSF tzdata wheel.

Jump to

Keyboard shortcuts

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