Opened 4 years ago

Closed 4 years ago

#12865 closed bug (invalid)

Format is switched when activated before page is completely loaded

Reported by: grrigorr Owned by: grrigorr
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:

Description

I am experiencing a bug when using ui.datepicker and initiating datepicker dropdown quickly, before page is completely loaded.

Here is my code:

<script>
$(function() {
  $dateObj.datepicker({
    dateFormat: 'mm-dd-yy'
  });
});
</script>

The bug is, when a date is chosen, it is in dd-mm-yy format, instead of the dateFormat specified above.

Change History (2)

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

Owner: set to grrigorr
Status: newpending

Please provide a reduced test case showing the problem. Also, note that 1.9.x hasn't been supported for quite a while. Make sure you're using the latest version when creating the test case.

comment:2 Changed 4 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.