ListTimezones() method #10
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: OSS/slack-timedate#10
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It returns a list of the time zones known to the system, just as a list of strings.
The list of the time zones can be obtained by reading the contents of the
/usr/share/zoneinfo
directory or the/usr/share/zoneinfo/zone1970.tab
file. Reading the directory may be preferable since the time zone is set by linking/etc/localtime
to one of the files in that directory. So it ensures that the target file really exists.