Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 887 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 887 Bytes

go-posix-time

Go

This is a small library whose purpose is to format a Go time.Time struct into a POSIX.1 TZ string.

Since the POSIX timezone string contains information about transitions between DST and Standard time zones, it was not possible to implement such a format before Go 1.19 when the ZoneBounds struct became available.

The library was created because the standard time format function of Go cannot produce this format.

For specifications of the format, please refer to UNIX Standard, Base Specifications, Issue 7 2018 available on-line at the Open Group Library

If you encounter any bugs, please open issues here.