Skip to main content

Search and Top Navigation

#9368 closed bug (worksforme)

Opened June 08, 2013 01:12PM UTC

Closed June 09, 2013 01:30AM UTC

Last modified June 09, 2013 02:03PM UTC

datepicker wrong initialization-language

Reported by: dmack Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:
Description

After creation the datepicker-element with a specific language :

$(selector).datepicker($.datepicker.regional[ "YOURLANGUAGEHERE" ]);

the first shown calendar-page is still in english - if you change the month (for example), the chosen language is used. Im guessing this is because of a missing step during the initializiation-process of datepicker -- if a language is given, the picker certainly should display the first page in that language

Attachments (0)
Change History (12)

Changed June 09, 2013 01:30AM UTC by scottgonzalez comment:1

resolution: → worksforme
status: newclosed

This is working just fine for me. If you're still having problems, please create a reduced test case using jsbin or jsFiddle that shows the problem and we will re-open this ticket.

Changed June 09, 2013 01:30AM UTC by scottgonzalez comment:2

component: ui.coreui.datepicker

Changed June 09, 2013 07:54AM UTC by dmack comment:3

sorry but you have obviously not tested it at all :

http://jsfiddle.net/CeRys/

Changed June 09, 2013 01:06PM UTC by scottgonzalez comment:4

On that page, I get a perfectly working datepicker using the specified locale: http://cl.ly/image/2b0d3p2m0V09

Changed June 09, 2013 01:10PM UTC by dmack comment:5

you definitely modified it of sorts, see screenshot

http://im.bilderkiste.org/1137078342251/nope.PNG

Changed June 09, 2013 01:16PM UTC by dmack comment:6

Changed June 09, 2013 01:19PM UTC by dmack comment:7

and IE doesnt seem to work AT ALL .... there is definitely something wrong with either jsfiddle or JQuery UI

http://im.bilderkiste.org/3137078399063/nope3.PNG

Changed June 09, 2013 01:26PM UTC by dmack comment:8

on google chrome MOBILE, it seems to work. That is weird.

http://im.bilderkiste.org/1137078438105/Screenshot_2013-06-09-15-22-11.png

Changed June 09, 2013 01:45PM UTC by dmack comment:9

IE has some issues with JSFiddle - JSBin works in IE, but the datepicker still isnt regional

http://jsbin.com/irijoc/1/edit

http://im.bilderkiste.org/8137078550935/IE.PNG

Changed June 09, 2013 01:58PM UTC by scottgonzalez comment:10

This is clearly not a problem with jQuery UI. Also, you should really not use GitHub files as <script> source since they're never transferred with the correct MIME type.

Changed June 09, 2013 02:00PM UTC by dmack comment:11

so what you're saying is that a problem which renders JQuery-UI incompatible with nearly every browser for this specific widget is not a problem of JQuery UI? That doesnt make any sense at all.

Changed June 09, 2013 02:03PM UTC by scottgonzalez comment:12

The code works everywhere. The problem is completely unrelated to the code or files that we're providing. Go to the fourms. You won't receive any more responses on this bug tracker.