Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeHour ¶ added in v1.0.7
NormalizeHour returns the hour (specified in the hr parameter) in local timezone (specified in the tz parameter). Note that the function does not takes into account if the return hour fall in different date.
func PadWithZero ¶
PadWithZero returns a string representation of i (0 <= i < 10) padded with '0' in front, else it returns a string representation of i. For example: '0' => '00', '1' => '01' etc.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.