working with datatypes.xml

Hello,
I’ve been reading about how to apply date format but I’m a little confused. Essentially, I’m looking for a very simple way to set the date format (US format) throughout the application, i.e. not for specific module.
Is there a way to do that?
Thanks.

1 Like

Hi Francis,
You don’t have to change anything in datatypes to adjust date or number formats.
Moreover, US formats are supported in the platform, so just use “en_US” locale in “Project properties > Available locales”, see the screenshot attached.
If you still need to modify formats, click “Show data format string” and enter your values. They will be saved in your main message pack, as explained in the docs: https://doc.cuba-platform.com/manual-6.1/datatype.html

AvailableLocales

This is great. I had never noticed that section of the Project Properties. I made the change and it worked great. Thank you.