Author |
Message |
20/05/2009 18:12:58
|
unger
Power User
Joined: 22/07/2008 05:19:28
Messages: 261
Offline
|
Hi,
which Java data types are supported by FormattedField(s) with format time?
I have a String "13:00" which leads to output "01:00". Is it a time zone problem or a general problem handling type String ?
I set the Locale de/DE in the session configuration. Where can the locale be set?
Regards,
Joachim
|
|
|
20/05/2009 18:20:37
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5521
Offline
|
...please take a look into the Dev. Guide.
The client internationalization (by intention) is decoupled from the server, by default. You have a German client, with English content. This is how e.g. browsers work (IE...) so we just took over.
But: the client can be configured from server side using client parameters or by using CLIENTCONFIG component.
...there is more info in the Dev.Guide...
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
20/05/2009 19:14:45
|
unger
Power User
Joined: 22/07/2008 05:19:28
Messages: 261
Offline
|
Hi again,
but when my client is configured correctly - that is it indeed : my windows clock is showing 19:30 - why is the output 01:00 while the String is 13:00?
Joachim
|
|
|
20/05/2009 19:22:17
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5521
Offline
|
...please press the tool-icon on the bottom-right within the Enterprise Client, in the corresponding popup you get the information about language and country settings. This is the information the client is based on.
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
20/05/2009 19:49:20
|
unger
Power User
Joined: 22/07/2008 05:19:28
Messages: 261
Offline
|
Land: DE
Sprache: de
I have a FormattedField: Only format=time, not the data type!
Joachim
|
|
|
20/05/2009 20:24:02
|
unger
Power User
Joined: 22/07/2008 05:19:28
Messages: 261
Offline
|
I found it: EC needs a Date.
I tested medium format for Calendar => 01.01.1970 01:00:00
1 o'clock is always a time zone difference. It was a luck that my job paranmeter was set to 13:00 and I saw the 1:00 as a 1:00 p.m.
Everything works fine with Java's Date. Would be nice to have support of Calendar or String for a simple time format.
Regards,
Joachim
|
|
|
|