Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RelativeTime ¶
RelativeTime converts a string like `2024-09-07 10:38:26` to a relative time expressed in days, e.g. `2 days ago` or `today`.
func TruncateExecTimeToNearest ¶
TruncateExecTimeToNearest takes a string, split it on the fractional part, and truncates the fractional part to the nearest precision, without touching units in the suffix of the string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.