Skip to content
Advertisement

Dayjs difference between two date time has a default of 8hours

I am confused why the difference between these two dates has a default of 8 hours? I am expecting a result something like 00:12:32 at least in my case from the time I posted this. Right now, in the result, the hour has a default of 8.

JavaScript
JavaScript

Advertisement

Answer

I cannot tell you but it is another reason for not using these frameworks when plain JS is more predictible

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement