jsmreese/moment-duration-format

No possibility to format minus sign

Valt25 opened this issue · 0 comments

For now, the minus sign is added to the formatted string automatically. But for now, there are no tools for its customization.

In particular, I need to set the single space between minus and remaining string. I could not find any tools in this library to implement it. And I would create a wrapper on format result to add additional space.

I think it is good to approach to add such tools, maybe add a specific symbol in the template that is responsible for placing a minus sign in the formatted string.