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
Just like we have a derivation for the "local" version of date/time values, we should support that for the week. This would affect the ordering of the days
The text was updated successfully, but these errors were encountered:
As it turns out, the structure of the week is localized.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo
This affects things like what is considered the first day of the week as well as what is considered a weekend.
Currently we do not take this into account, and when we choose day of week, we order them according to DuckDb's dayofweek, with sunday = 0, monday = 1, etc. (https://duckdb.org/docs/sql/functions/datepart#dayofweekdate)
Just like we have a derivation for the "local" version of date/time values, we should support that for the week. This would affect the ordering of the days
The text was updated successfully, but these errors were encountered: