I would like to allow all the users of my app to enter date in European format (DD/MM/YYYY) in a date field. If I set the user’s locale to en_GB, it’s working fine but there are users outside Europe as well and I don’t want to set a common locale for all users but the date format should be the same for all of them.
I came across the property ‘pyUseLocaleForDateFormat’ on the Operator page which is blank by default. I tried setting this property value to ‘en_GB’ and the user’s locale as ‘en’ but it’s allowing the user to enter date in US format only (MM/DD/YYYY). Is anyone aware of what this property is used for? Can we use this to set the specific locale just for dates and can the user’s locale be different from this?
@BrijeshV@BalaM560 On the Date Time Control you can choose the format based on three options: User Time Zone Standard TimeZone and Property. The selected option overrides the Browser or Operator level Local setting. You can choose Standard Timezone and define the format to ensure that all users can enter the date in the desired format consistently regardless of their individual locale settings.
This is a GenAI-powered tool. All generated answers require validation against the provided references.