-
Specification change (Sub-task)
-
Resolution: Fixed
-
Trivial
-
None
-
None
-
Sprint 67 (Aug 2020), Sprint 68 (Sep 2020), Sprint 69 (Oct 2020), Sprint 80 (Sep 2021)
-
1
Time formatting macro function
Time formatting macro function fmttime will be added to allow custom time formats. It will be usable with {TIME} macro.
Usage: fmttime(<format>, <time_shift>)
- <format> - mandatory format string, compatible with strftime function formatting.
- <time_shift> - the time shift applied to the time before formatting: -<N><time unit> , where
- <N> - the number of time units to subtract
- <time unit> - the time unit: h (hour), d (day), w (week), M (month) and y (year).
For example: fmttime(%B,-1M)
Number formatting macro function
Number formatting macro function fmtnum will be added to control the number of digits printed after the decimal point.
Usage: fmtnum(<digits>)
- <digits> - the number of digits after decimal point. No trailing zeros will be produced.
For example: fmtnum(2)
- mentioned in
-
Page Loading...