Closed suyalcinkaya closed 5 years ago
Seems Duplicate of #414 ?
Or, more detail please?
Maybe we need a dayjs. duration
plugin?
@xxyuk
Well, that's all actually. Couldn't find a way to convert 30 minutes
to PT30M
.
@iamkun I think we need one.
We had the same issue and ended up using ISO8601-duration (tested, pretty small, no dependencies) for that format parse and calculations.
@mariomc Thanks mate. But it looks like it does the opposite thing for what I need.
Hi 👋🏼,
First of all, thank you for this great library :)
I couldn't find a way to convert the minutes or hours to ISO 8601 duration format. For example:
With moment.js I can do;
Couldn't find a way to do the same thing in dayjs.
Any suggestions?