0

Date box - october

asked 2014-07-17 14:20:11 +0800

rafaelmartins gravatar image rafaelmartins
1

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!

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2014-07-18 20:57:25 +0800

Darksu gravatar image Darksu
1991 1 4

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

link publish delete flag offensive edit

answered 2014-07-23 11:08:27 +0800

cor3000 gravatar image cor3000
6280 2 7

Yes I agree please share your locale and timezone so we can reproduce the problem. Are only these 2 days affected or all days?

link publish delete flag offensive edit

answered 2014-08-18 03:21:49 +0800

vincentjian gravatar image vincentjian
2245 6

updated 2014-08-18 03:27:03 +0800

Hi all,

This issue is caused by daylight saving and is fixed in latest freshly version, please refer to this ZK tracker.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
3 followers

RSS

Stats

Asked: 2014-07-17 14:20:11 +0800

Seen: 15 times

Last updated: Aug 18 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More