Re: T5.3 datetime settings question

2012-03-26 Thread Steve Eynon
Our apps have something like this in the module: @Startup public static void setDefaultTimeZones(@Inject @Symbol(PlatformSymbols.DEFAULT_TIMEZONE_TO_UTC) boolean setTimezoneToUtc) { if (setTimezoneToUtc) { System.setProperty("user.timezone", UTC); org.joda.datetime.DateTimeZone

Re: T5.3 datetime settings question

2012-03-26 Thread Paul Stanton
you need to change the timezone setting for the jvm via -Duser.timezone, but even then you need to patch an outstanding bug with the DateField: https://issues.apache.org/jira/browse/TAP5-841 On 25/03/2012 7:48 AM, bigcache1 wrote: Hello, everybody. I want to set the time in the application to

T5.3 datetime settings question

2012-03-24 Thread bigcache1
Hello, everybody. I want to set the time in the application to the UTC+4, how should I do that? I would prefer not to touch the server settings. And can I change the datepicker using the SymbolConstraints.Datepicker property? P.S. I have searched the first question for 20 minutes, but google give