User Tools

Site Tools


l2_report_time_formats

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
l2_report_time_formats [2019/02/22 15:58] – [Duration] emozolyakl2_report_time_formats [2019/02/22 16:08] – [Duration] emozolyak
Line 56: Line 56:
 ms:      S ms:      S
 </code> </code>
 +
 Escape token characters within the template string using square brackets. Escape token characters within the template string using square brackets.
  
-moment.duration(123, "minutes").format("h [hrs], m [min]"); +E.g 
-// "2 hrs, 3 mins" +<code> h [hrs], m [min] </code> format string will result in such output: "2 hrs, 3 mins".
- +
l2_report_time_formats.txt · Last modified: 2022/01/15 06:34 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki