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
When I run init() in devtools console while using the docs, then date-fns functions become available under _ variable.
Nice, but... it looks like the functions don't have all the features. Maybe it's outdated version? The latest (3.6.0) is selected in the drop-down on top of docs.
Notice how the startOfDay function doesn't understand the ISO string argument:
I can run this just fine in my own code: startOfDay(new Date().toISOString()) -> Sat Aug 17 2024 00:00:00 GMT+0200 (Central European Summer Time)
The text was updated successfully, but these errors were encountered:
When I run
init()
in devtools console while using the docs, then date-fns functions become available under_
variable.Nice, but... it looks like the functions don't have all the features. Maybe it's outdated version? The latest (3.6.0) is selected in the drop-down on top of docs.
Notice how the
startOfDay
function doesn't understand the ISO string argument:I can run this just fine in my own code:
startOfDay(new Date().toISOString())
->Sat Aug 17 2024 00:00:00 GMT+0200 (Central European Summer Time)
The text was updated successfully, but these errors were encountered: