timezone

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLocationFromCountryCode

func GetLocationFromCountryCode(countryCode string) (*time.Location, error)

GetLocationFromCountryCode returns the timezone location for a given ISO 3166-1 alpha-2 country code.

func GetTimezoneStringFromCountryCode

func GetTimezoneStringFromCountryCode(countryCode string) string

GetTimezoneStringFromCountryCode returns the timezone for a given ISO 3166-1 alpha-2 country code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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