Categorygithub.com/tkuchiki/go-timezone
modulepackage
0.2.3
Repository: https://github.com/tkuchiki/go-timezone.git
Documentation: pkg.go.dev

# README

go-timezone

GoDocWidget Test


go-timezone is timezone utility for Go.

It has the following features:

  • This library uses only the standard package
  • Supports getting offset from timezone abbreviation, which is not supported by the time package
  • Determine whether the specified time.Time is daylight saving time
  • Change the location of time.Time by specifying the timezone

See godoc for usage.

Data source

https://github.com/tkuchiki/timezones

Contributors

# Functions

New creates a new Timezone.

# Variables

ErrAmbiguousTzAbbreviations indicates ambiguous timezone abbreviations.

# Structs

Timezone represents a timezone information.
TzAbbreviationInfo represents timezone abbreviation information about a particular timezone.
TzInfo represents information about a particular timezone.