Documentation ¶
Index ¶
Constants ¶
View Source
const Day = 24 * time.Hour
View Source
const HalfYear = 6 * Month
View Source
const Month = 30 * Day
View Source
const Quarter = 3 * Month
View Source
const Week = 7 * Day
View Source
const Year = 365 * Day
Variables ¶
This section is empty.
Functions ¶
func ConvertFromFancyTime ¶ added in v0.13.0
converts 1y to 1 year converts 2M to 2 month converts 3w to 3 week converts 4d to 4 day converts 5h to 5 hour converts 6m to 6 minute converts 7s to 7 second converts 8 to 8 millisecond
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.