Open ChanakaDil opened 3 years ago
I have a problem with the formatting using moment-duration-format. I'm passing the format 'y[y] M[m] w[w] d[d] h[hr] m[min]' inside format.
But I'm getting hrs and mins instead of hr and min as the output.
eg : Im getting 1m 0w 3d 22hrs 30mins as the output.
1m 0w 3d 22hrs 30mins
But what I need as output is 1m 0w 3d 22hr 30min
1m 0w 3d 22hr 30min
I have a problem with the formatting using moment-duration-format. I'm passing the format 'y[y] M[m] w[w] d[d] h[hr] m[min]' inside format.
But I'm getting hrs and mins instead of hr and min as the output.
eg : Im getting
1m 0w 3d 22hrs 30mins
as the output.But what I need as output is
1m 0w 3d 22hr 30min