Date fields are formatted based on the ISO language code specified in the partition language. Visual LANSA defaults to a US locale.
For non-US customers, it may be necessary to modify the ISO setting. As the locale features are compiled in to the JavaScript, you must ensure that all web pages and parts are compiled to reflect the change.
See http://docs.lansa.com/140/en/lansa801/i ... a_0093.htm for more details.
Dates and locale in the browser
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: Dates and locale in the browser
Hello,
Two problems:
- The mentioned locale settings is not aplyed to 'Today' date format in date prompter (the last field at the bottom) - probably bug.
- The locale settings does not work with intrinsic function .AsDayofWeek. Is it a bug, or the values are taken from other place (*MTXT, MSGF ...?)
How we can the .AsDayOfWeek function force to use local naming?
Two problems:
- The mentioned locale settings is not aplyed to 'Today' date format in date prompter (the last field at the bottom) - probably bug.
- The locale settings does not work with intrinsic function .AsDayofWeek. Is it a bug, or the values are taken from other place (*MTXT, MSGF ...?)
How we can the .AsDayOfWeek function force to use local naming?
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: Dates and locale in the browser
Hi Jiri
1 - Incorrect "Today" format
Can you please report all suspected bugs to your regional help desk. This ensures that they will be recorded and handled correctly. Thanks
2 - AsDayOfWeek
Did you specify the Format parameter?
#DayofWeek := #MyDate.asDayofWeek( LongName )
The default of SYMBOL always uses the English
http://docs.lansa.com/140/EN/LANSA016/P ... OFWEEK.htm
Regards
1 - Incorrect "Today" format
Can you please report all suspected bugs to your regional help desk. This ensures that they will be recorded and handled correctly. Thanks
2 - AsDayOfWeek
Did you specify the Format parameter?
#DayofWeek := #MyDate.asDayofWeek( LongName )
The default of SYMBOL always uses the English
http://docs.lansa.com/140/EN/LANSA016/P ... OFWEEK.htm
Regards
Re: Dates and locale in the browser
Thanks, it works fine. I am wondering we did not noticed the note in doc, or was it updated recently?
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: Dates and locale in the browser
Good to know it's working as designed.
Sorry to tell you though Jiri, but that document hasn't changed since GA.
Regards
Sorry to tell you though Jiri, but that document hasn't changed since GA.
Regards
Re: Dates and locale in the browser
Hi Jiri,
Did you find a solution to the datepicker 'Today' date format issue ?
Did you find a solution to the datepicker 'Today' date format issue ?
Regards
Allan Jakobsen
Futura Data A/S
Allan Jakobsen
Futura Data A/S
-
dannyoorburg
- Posts: 177
- Joined: Mon Jan 04, 2016 9:50 am
- Location: Australia
Re: Dates and locale in the browser
Hi Allan,
it turned out the incorrect format of the 'Today' caption was hard-coded into the LANSA runtime. Not much you can do about that.
The issue will be fixed in the upcoming service pack.
Regards,
Danny
it turned out the incorrect format of the 'Today' caption was hard-coded into the LANSA runtime. Not much you can do about that.
The issue will be fixed in the upcoming service pack.
Regards,
Danny