umair96 / jquery-datepicker

Automatically exported from code.google.com/p/jquery-datepicker
0 stars 0 forks source link

Mac & XP issue with Safari and incorrect Calendar Date when dynamically populated #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Loading a page where the date is being inserted into the text field from a a 
database  ie -- value="12/10/2008"

What is the expected output? What do you see instead?

After the page is loaded -- when you click on the date picker icon where the 
date has been inserted into the input field, 
the calendar that pops up isn't the current date -- it's defaulting to January 
1996.

Please provide a URL to a page displaying the problem.

It's private development. I'll give you access offline, but not on the forum.
dbrown@walker-marketing.com

What version of the datepicker are you using? On what operating system? And 
Which Browser?

 $Id: jquery.datePicker.js 3739 2007-10-25 13:55:30Z kelvin.luck

Mac 0S 10.5 & Safari 3.2.1
Windows XP - Safari 3.2.1

Works fine in FF (MAC &PC) & IE 7/6

Please provide any additional information below.

Original issue reported on code.google.com by cmcqu...@walker-marketing.com on 16 Dec 2008 at 9:24

GoogleCodeExporter commented 8 years ago

Original comment by kelvin.l...@gmail.com on 17 Dec 2008 at 4:29

GoogleCodeExporter commented 8 years ago
Kelvin,

We figured out the problem...the value in the input box has to follow the 
strict format of 12/02/2008.  
12/2/2008 won't work -- something in Safari is making the function that returns 
the calendar start point fail.  
We are writing a back-end function to fix, but I've got this in other projects 
so I'd appreciate you to take a 
look for a solution.

Thanks,

Douglas

Original comment by cmcqu...@walker-marketing.com on 18 Dec 2008 at 9:05

GoogleCodeExporter commented 8 years ago
Thanks for the update Douglas. I'll have a look into making the date parser more
robust and will update this ticket when I've done so,

Cheers,

Kelvin :)

Original comment by kelvin.l...@gmail.com on 19 Dec 2008 at 2:29