Expand description
Time handling and formatting.
Structs§
- Time
Format - How to format the time stamps.
- Time
Scale
Enums§
- Time
String Formatting - How to format the numeric part of the time string.
- Time
Unit
Constants§
Functions§
- find_
auto_ 🔒scale - Heuristically find a suitable time unit for the given time.
- split_
and_ 🔒format_ number - Format number based on
TimeStringFormatting
, i.e., possibly group digits together and use correct separator for each group. - strip_
trailing_ 🔒zeros_ and_ period - Get rid of trailing zeros if the string contains a ., i.e., being fractional If the resulting string ends with ., remove that as well.
- time_
string - Format the time string taking all settings into account.
- timeformat_
menu - Draw the menu for selecting the time format.
- timeunit_
menu - Create menu for selecting preferred time unit.