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
Date calculation fails on windows because strftime("%u") is unsupported.
For example getEventCalendarDateRange() fails to calculate $startDOW and returns false.
Something like the below would work to be cross-platform. But I honestly haven't done enough testing to tell if that's a good solution, especially on unix. Seems weird to give a numeric value to strftime() though :/
Date calculation fails on windows because
strftime("%u")
is unsupported.For example
getEventCalendarDateRange()
fails to calculate$startDOW
and returns false.Something like the below would work to be cross-platform. But I honestly haven't done enough testing to tell if that's a good solution, especially on unix. Seems weird to give a numeric value to
strftime()
though :/Seems to output the right date range on Windows however. (Well, with Monday as the first day of the week)
The text was updated successfully, but these errors were encountered: