22
Views
4
Comments
Date Format is override by browser date format
Question

Hello everyone,

I'm using OS11 reactive.

I have a Input Date which uses the DatePicker DateFormat like this "DD-MM-YYYY"

If the browser language is in Portuguese i don´t have any problem, the problem is when the browser language is in English. The display date change to the format "MM-DD-YYYY".


Does anyone know how to ensure that the DateFormat is maintained in the browser?


Best and regards

Rank: #82

Hi Tiago,

Not sure about the issue but you can try to use this component.

https://www.outsystems.com/forge/component-overview/2258/input-masks-library


Hope it helps,

Assif

Rank: #89

Hi Tiago,

 Use 

SyntaxEditor Code Snippet

FormatDateTime

function to override formate.

look sample oml. 

Hope this will help you.

Regards 

Rahul Sahu

Datetime.oml