Page 1 of 1

DateTime field visualization

Posted: Fri Feb 08, 2019 7:19 pm
by Elen
Lansa V14SP1 VLWeb
To display date fields, we are using the default visualization of DATEX, #DATEX.Visual which is #PRIM_EVDT.
The control claims that it displays dates in d/M/yyyy format (readonly property FormatText displays this as its value) but as you can see in the attached picture the actual format is M/D/YYYY. What should we do to change control’s date format to the desired DD/MM/YYYY as well as the names of Days and Months to our lang ?

Re: DateTime field visualization

Posted: Sat Feb 09, 2019 12:58 pm
by MarkDale
I think the way to handle this is to change the locale for the language.

See this link
https://docs.lansa.com/14/en/lansa017/c ... Eng03_0055


So if you are running language ENG, and language ENG uses ISO language code (locale) en (which is en US), the dates will default to M/D/Y format