Search and Top Navigation
#8419 closed bug (notabug)
Opened July 01, 2012 08:41AM UTC
Closed July 02, 2012 03:14PM UTC
Last modified July 07, 2012 02:12PM UTC
First day of week set to Sunday in jquery.ui.datepicker-no.js
Reported by: | lsteen | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.datepicker | Version: | 1.8.21 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In the datepicker internationalizaton file for norwegian (jquery.ui.datepicker-no.js) the option "firstDay" is set to 0 (Sunday). The first day of the week in Norway is Monday, and thus the firstDay options should be set to 1.
The first day of week in Norway may be verified by googling images for "norsk kalender" (which translates to "Norwegian calendar").
Ref.
jquery-ui - Revision 4134
The bug is generic and not related to any particular browser or OS.
Attachments (0)
Change History (4)
Changed July 01, 2012 09:16AM UTC by comment:1
Changed July 02, 2012 03:14PM UTC by comment:2
resolution: | → invalid |
---|---|
status: | new → closed |
You must be using a really old version, since this was fixed 2 years ago...
Changed July 07, 2012 11:11AM UTC by comment:3
The datepicker internationalizaton file containing the error was found following links from http://jqueryui.com/home. The same internationalization file may also be located starting at the
UI/API/1.8/Datepicker documentation page.
The page containing links to the various localization files has the header "jquery-ui - Revision 4134: /trunk/ui/i18n". The url to the internationalization file is:
http://jquery-ui.googlecode.com/svn/trunk/ui/i18n/jquery.ui.datepicker-no.js
I don't know how to verify that revision 4134 is the current one, but it seem strange to me that the links from on jQuery UI homepage would lead to an old version. As mentioned in the previous update the error applies only to the standalone Norwegian file, not the rollup file.
The full navigation path is:
1: Start at http://jqueryui.com/home
2: Click the link "Demos & Documentation" in the menu
3: Click the link "Datepicker" in the "Widgets" section
4: Click the link in the paragraph at the very bottom of the page ("The localization files are also available in the UI svn:...")
5: Click the link labeled "jquery.ui.datepicker-no.js"
Changed July 07, 2012 02:12PM UTC by comment:4
Those files are actually a few years old. We don't use SVN anymore. I've fixed the link on docs.jquery.com, which is used to generate the docs on jqueryui.com.
The rollup file found at
http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.8/i18n/jquery-ui-i18n.js
is correct.