[FIX] locale: align en_US locale to Odoo's locale
The en_US default locale in o-spreadsheet is m/d/yyyy but it's mm/dd/yyyy in odoo.
Because of this mismatch, spreadsheets from the source code of odoo (dashboards, templates) will have a small warning saying the spreadsheet locale and the user locale mismatch. That's because existing spreadsheet don't have any locale and the default one is used.
This commit changes o-spreadsheet en_US locale to be the same as odoo. All new spreadsheet created will have odoo's locale anyway. (only existing ones, from the source code have the mismatch)
Description:
description of this task, what is implemented and why it is implemented that way.
Task: : TASK_ID
review checklist
- [ ] feature is organized in plugin, or UI components
- [ ] support of duplicate sheet (deep copy)
- [ ] in model/core: ranges are Range object, and can be adapted (adaptRanges)
- [ ] in model/UI: ranges are strings (to show the user)
- [ ] undo-able commands (uses this.history.update)
- [ ] multiuser-able commands (has inverse commands and transformations where needed)
- [ ] new/updated/removed commands are documented
- [ ] exportable in excel
- [ ] translations (_lt("qmsdf %s", abc))
- [ ] unit tested
- [ ] clean commented code
- [ ] track breaking changes
- [ ] doc is rebuild (npm run doc)
- [ ] status is correct in Odoo
@LucasLefevre the target branch 'saas-16.4' has been disabled, you may want to close this PR.