-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Dear,
i am using zk 6.5.1.1 and something wierd is happing! When i select october 19 2013, the date is chage to the 18. That also happened when using 2014 or october 20 2013, it change to 19. It also happen in the zk demo page. Does anyone know how to fix this problem?
Thanks!
Hello rafaelmartins,
As I can recall, the issue is related to your locale.
The solution to your problem is to specify in the library property (WEB-INF/zk.xml) the first day of the week as shown below:
<library-property>
<name>org.zkoss.web.preferred.firstDayOfWeek</name>
<value>7</value><!-- Saturday -->
</library-property>
For more information please refer to the following url:
http://books.zkoss.org/wiki/ZK_Developer%27s_Reference/Internationalization/The_First_Day_of_the_Week (http://books.zkoss.org/wiki/ZKDeveloper%27sReference/Internationalization/TheFirstDayofthe_Week)
Best Regards,
Darksu
Hi all,
This issue is caused by daylight saving and is fixed in latest freshly version, please refer to this ZK tracker.
Asked: 2014-07-17 14:20:11 +0800
Seen: 15 times
Last updated: Aug 18 '14