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\