You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you help me understand why dayjs().toISOString() doesn't include the offset by default?
Given the current behaviour, shouldn't this method be named ToUtcIsoString?
Or am I wrong, expecting this method to include the offset? What are the reasons behind this behavior?
I'm aware that I can get the ISO 8601 representation including offset using format(), but it's less obvious.
The text was updated successfully, but these errors were encountered:
Can you help me understand why
dayjs().toISOString()
doesn't include the offset by default?Given the current behaviour, shouldn't this method be named
ToUtcIsoString
?Or am I wrong, expecting this method to include the offset? What are the reasons behind this behavior?
I'm aware that I can get the ISO 8601 representation including offset using
format()
, but it's less obvious.The text was updated successfully, but these errors were encountered: