package
Version:
v0.0.0-...-6deaddc
Opens a new window with list of versions in this module.
Published: Nov 8, 2021
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package stringduration extends formatting for durations as strings.
Distance returns the duration between "now" and multiples of year/month/day. If now is zerotime, the current time is used.
Parse a duration (like time.Duration), but additionally support D(ay), W(eek), M(onth), Y(year) being aware of calendar accuracy.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.