Open magaton opened 3 years ago
Thanks for the feature request, I have passed it to the product team.
I have demoed here how env variables are picked up when constructing default locale and change the week order number (result) https://github.com/magaton/week-number
Is your feature request related to a problem? Please describe. Currently, all temporal functions work only according to ISO standard, which is how weeks are calculated in Europe, but not in US, Canada, etc.
Describe the solution you'd like I would like the temporal functions to accept user.country and user.language environment variables and resolve the first day of the week and when the first week starts automatically.