Bug Tracker

Modify

Ticket #7329 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

Error in DatePicker with Chile - Santiago GMT

Reported by: anonymous Owned by:
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.4.3
Keywords: Cc:
Blocking: Blocked by:

Description

This line doesn't work correctly when you use Chile - Santiago - GMT on Windows bar-clock:

var printDate = new Date(drawYear, drawMonth, leadDays);

If you use the following values, print the same date:

var drawYear=2010; var drawMonth=10; var leadDays = -22;

Now, if you use the followings values, you get the same result:

var drawYear=2010; var drawMonth=10; var leadDays = -23;

Maybe this error is caused by Windows API.

Change History

comment:1 Changed 3 years ago by addyosmani

  • Status changed from new to closed
  • Resolution set to invalid

Please note that this bug tracker is for issues to do with jQuery core only. If you are looking for assistance with either jQuery UI DatePicker or vanilla JavaScript problems, please submit your ticket to either the UI bug tracker or our forums.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.