Registry / utility / thlib-go-timezone-local

thlib-go-timezone-local

JSON →
library0.0.7gogounverified

Package go-timezone-local provides utilities for detecting and working with the local timezone on various operating systems.

go get github.com/thlib/go-timezone-local
INSTALL
IMPORT
SIG · THLIB-GO-TIMEZONE-
T
thlib-go-timezone-local
utilitygov0.0.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

timezonelocal
github.com/thlib/go-timezone-local

Retrieves the local timezone name using OS-specific methods.

package main import ( "fmt" "github.com/thlib/go-timezone-local" ) func main() { zone, err := timezonelocal.LocalTimezone() if err != nil { panic(err) } fmt.Println("Local timezone:", zone) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.7latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
thlib-go-timezone-local — go get thlib-go-timezone-local · libregistry