Closed VictorioBerra closed 2 years ago
For example:
moment.duration(1, 'seconds').format("D.hh:mm:ss")
Should return 0.00:00:01
0.00:00:01
But instead returns 1.
1
I need this to work with ASPNET where I POST the format to an endpoint that modelbinds it to a TimeSpan.
TimeSpan
Apparently I cant read the docs, the answer is trim: false
trim: false
For example:
moment.duration(1, 'seconds').format("D.hh:mm:ss")
Should return
0.00:00:01
But instead returns
1
.I need this to work with ASPNET where I POST the format to an endpoint that modelbinds it to a
TimeSpan
.