sheetjs
sheetjs copied to clipboard
Negative time delta values should format correctly
In Excel, a negative time difference formats with a negative sign. SSF returns a blank result:
console.log('"' + SSF.format('[HH]', -12) + '"')
""
Interesting -- the absolute time tokens will be displayed as negative numbers while the normal datetime tokens elicit a #VALUE! error: