Closed mjgallag closed 9 years ago
Set the trim
option to false
.
moment.duration(10, "seconds").format("hh:mm:ss", { trim: false });
// "00:00:10"
@jsmreese apologies, clearly i was missing something, i read the trim section but it didn't quite click until now, thanks for the quick response!
No worries :)
@jsmreese apologies if i'm missing something here but is there anyway currently to output
hh:mm:ss
where all digits are displayed all of the time?