google-code-export / zkcalendar

Automatically exported from code.google.com/p/zkcalendar
1 stars 1 forks source link

Server timezone of UTC makes DST Issue worse #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Jimmy,
Sorry, I have found another variation of the DST issue. It may or may not be 
just a variant on the 
existing issue, but I thought I'd log it:

What steps will reproduce the problem?
1. Deploy the Calendar demo
2. Replace calendar.jar with latest R34 patched version
3. Force your servlet container to use UTC as the default time using the 
user.timezone VM flag. 
E.g. For Jetty on *nix, insert 'JAVA_OPTIONS="$JAVA_OPTIONS 
-Duser.timezone=UTC"' into 
jetty.sh.
4. Start the servlet container and browse the URL. View 28th March 2010 in Week 
View or March 
2010 in Month View.

What is the expected output? What do you see instead?
1) In Week View, most of the expected events are missing.
2) In Month View the Calendar hangs.

What version of the product are you using? On what operating system?
ZK 5, Calendar 2.0 patch R34

Please provide any additional information below.
This is a variant of Issue 20 and Issue 13. I normally run production servers 
on UTC time to 
minimise the DST issues storing dates and times in databases.

Applying the setting to the patched calendar jar seems to make the existing bug 
worse - the 
calendar now crashes in Month View without having to create an all-day issue on 
28th March and 
most of the events are missing from Week View. 

Original issue reported on code.google.com by david.ha...@jiffle.net on 26 Mar 2010 at 7:11

GoogleCodeExporter commented 9 years ago
I have fixed DST problem.
http://zkcalendar.googlecode.com/svn/trunk/zkcalendar/dist/lib/calendar.jar
you can check it

Original comment by jimmyshi...@gmail.com on 11 Apr 2010 at 11:56

GoogleCodeExporter commented 9 years ago
Confirmed fixed using UTC. Thank you.

Original comment by david.ha...@jiffle.net on 13 Apr 2010 at 12:43

GoogleCodeExporter commented 9 years ago
Fixed since Apr 13

Original comment by jimmyshi...@gmail.com on 13 Apr 2010 at 12:46