This issue was reported here:
http://tikiwiki.org/tiki-view_forum_thread.php?comments_parentId=31232&topics_offset=2&topics_sort_mode=lastPost_desc&forumId=4
Here in Germany, and most likely in other parts of the world as well, we use an ISO based week numbering system.
The Calendar display the week starting Monday, January 5th 2009 as week 1, while in fact, as least here, week 1 starts on December 29th.
TW seems to use Date.getWeekOfYear() to get the week number. That must be considered a bug, since that doesn't take locales into account.
Instead, TW should use strftime with %U, %V or %W, depending on the locale or depending on settings.
This is backed by PHP "bugs" 19719 and 14422 for example, which were identified as not being bugs at all. The docs of Date are not very clear on what getWeekOfYear() really returns. Both bug entries show how to determine the week number correctly.
Use strftime with %U, %V or %W, depending on the locale or depending on settings.
It would be nice to have a configuration somewhere in Admin Calendar for this.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
Unable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |