Once and are Done, reference data will have APIs which return configurable system locale settings. The UI does have similar default settings, but should primarily use the ones from reference data and use the default settings as backup if the API does not return data.
Refactor currency/number related UI components to use currency settings from API, if necessary
Refactor date related UI components to use date settings from API, applying timezone in particular, so that when dates are shown in the UI, they are not based on the browser's timezone
If the API does not return certain settings, the UI components should use the corresponding defaults it has in the UI configuration
Could you tell me how I could test this ticket to check if API settings are being used? Maybe I should look at some specific endpoints?
basically you can test it by changing the uat settings config file to different values, then going to different parts of the ui, like requisition and cce, to see if the currency, number, date and time zone settings are showing up correctly. Hopefully this makes sense.
Yes, it makes sense I will do as you suggest. Thank you.
one more thing, if you are changing the time zone from UTC to something else, it needs to be in a format like Europe/Warsaw, or America/Los_Angeles or similar.
I checked the ticket according to the suggestions and moved to Done.