-
Type: Story
-
Status: Closed (View Workflow)
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: CFA 2019R1
-
Component/s: Core
-
Labels:None
-
Sprint:CFAMX 2019R1 Sprint 5
-
SOW (Time Tracking) Project:44866
-
Work Type Classification:Sustaining
Further to conversation with Rehan Weber and Kevin Reid.
The implementation undertaken to support localization of date formats in MxC is based on Short and Long date formats defined in tbEntity and tbUser.
When making the decision about which culture (Language and date formats) to display, the system checks in this order.
- Check for a user override, if one exists use this setting, else:
- Check for an entity override, if one exists use this setting, else:
- Use the setting for the system default culture
These User and Entity settings will require maintenance and there is the possibility that data may get out of sync.
- This story is to investigate the best option to implement a maintainable/scalable solution
Will's suggestion:
- Extend tbLocalisation to include Short Date Format and Long Date Format
- Ideally, we would look at this table to figure out the Date Formats (i.e. not need to set them at the Entity / User level)
- If a Locale/Culture does not have the Short and Long format specified, it should look at the parent, in the same way that the localization does
- Using this method, it is not necessary to maintain the Short and Long Format fields at the Entity and User, instead, once the Localization/Culture is set these values will be derived from that Culture
However
- If it is easier/more expedient to leverage the db format that we have in place we can use it, but will need to make other changes.
- If the Localization is selected in the Entity Manager, the Short and Long Date should be updated to match those stored in tbLocalisation. If the Localization = Default Language, use the Short and Long Date formats for the Default Language
- If the Locale is selected for a User, the Short and Long Date should be updated to match those stored in tbLocalisation.If the Localization = Not Set, use the Short and Long Date formats for the Default Language
- This approach would require changes to:
- Employee Setup
- Entity Manager
- Employee Details Import
- Location/Entity Import
- implements
-
CFAMX-624 Canada - Changes required to InFORM to support Localization (INF-9530)
- Closed
- is related to
-
CFAMX-1183 Localization - Change source of date format strings
- Closed