Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTimezone ¶
GetTimezone returns the current system timezone and its path after zoneInfoPath
func ReadTimezones ¶
ReadTimezones returns a list of possible time zones from the system Possible arguments for zoneInfoDir:
"" (root dir) "US" "posix/America"
func SetTimezone ¶
SetTimezone sets the current system time zone
func UpdateTimeFromNetwork ¶
func UpdateTimeFromNetwork() (err error)
UpdateTimeFromNetwork fetches time from ntp server and stores in system and RTC
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.