Hi all,

I'm using OM 3.0.3 and I've a problem when I create an event in the
Scheduled Meeting. OM returns the fields StartDay and EndDay with one
day less than the day selected (month view).


I've had tracing the bug and I've found the problem in the method of
detecting the time zone of the client. The method getTimeZone() of
class ClientProperties (wicket-core-6.14.0.jar) always return the
first time zone ID that match with the GMT and DST offset of the
user's browser.


In my case, it's returning “Africa/Casablanca” instead of
“Atlantic/Canary”. “Africa/Casablanca” is the time zone of Morocco and
it has a different daylight saving behavior from Jun 29 to July 28
(month of ramadan:
http://www.oracle.com/technetwork/java/javase/tzdata-versions-138805.html).


So, OM set StartDay and EndDay with one hour less when it applies this
time zone to the day selected (these variables are initialized to
00:00:00 before apply the current time).


Have you thought about adding a complementary method for guessing the
TimeZone of the client? IP-based Geolocation, for instance?. Will OM
continue using this method in future releases?.


Regards.

Reply via email to