Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#8419 closed bug (notabug)

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.

Change History (4)

comment:2 Changed 8 years ago by Scott González

Resolution: invalid
Status: newclosed

You must be using a really old version, since this was fixed 2 years ago...

comment:3 Changed 8 years ago by lsteen

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"

comment:4 Changed 8 years ago by Scott González

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.

Note: See TracTickets for help on using tickets.