|
ludwigl
|
 |
« on: August 03, 2010, 03:41:15 AM » |
|
Hi linb,
my environment is Sigma Visual V3.0 R909 on Windows XP SP3 and Firefox 3.6.8.
I introduced a new locale file for German in which I modified the definition of YMD to function(n,a,b,c){return (c<10?"0"+c:c) +'-'+(b<10?"0"+b:b)+'-'+a} in order to get the German date format dd-mm-yyy.
This works fine except for one small issue. In the comboxes of type datepicker, the date is displayed fine, but as soon as the comboinput gets the focus, the date is displyed in the format "yyyy-mm-dd".
I localized the issue in the onFocus function of the combobox, in which the different date format is not considered.
Do you think it is possible to fix this issue?
Thank you very much in advance,
Ludwig
|
|
|
|
|
Logged
|
|
|
|
|
linb
|
 |
« Reply #1 on: August 03, 2010, 06:04:44 AM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
ludwigl
|
 |
« Reply #2 on: August 03, 2010, 06:20:17 AM » |
|
Hi linb,
thank you very much for the quick answer and the working solution.
With best regards,
Ludwig
|
|
|
|
|
Logged
|
|
|
|
|
linb
|
 |
« Reply #3 on: August 03, 2010, 09:03:52 AM » |
|
New property dateEditorTpl added, You can use setDateEditorTpl now.
|
|
|
|
|
Logged
|
|
|
|
|
ludwigl
|
 |
« Reply #4 on: August 05, 2010, 12:35:18 AM » |
|
Hi linb,
thank you very much for the new property.
It works fine and I like this solution much better than your first suggestion, because it is much easier to implement.
With best regards,
Ludwig
|
|
|
|
|
Logged
|
|
|
|
|
ludwigl
|
 |
« Reply #5 on: August 05, 2010, 07:26:52 AM » |
|
Hi linb,
I detected a small issue with the format in the comboboxes of type datepicker (R928).
When I modify the date manually (by typing) and hit return, the integer value of the date is displayed, when I leave the combobox by clicking into another field, the correct date format is displayed.
Could you please have a look at this?
With best regards,
Ludwig
|
|
|
|
|
Logged
|
|
|
|
|
linb
|
 |
« Reply #6 on: August 05, 2010, 05:33:34 PM » |
|
Fixed.
|
|
|
|
|
Logged
|
|
|
|
|
ludwigl
|
 |
« Reply #7 on: August 06, 2010, 12:24:57 AM » |
|
Thank you!
It works fine now.
Ludwig
|
|
|
|
|
Logged
|
|
|
|
|