Nelsonsanu / jquery-countdown

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

No option for a date that's after 2011... #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. trying to countdown to a date in 2012 
2. adding a third 'd' in the dd:mm:hh:ss format
3. adding a +1 to the getFullYear(), 

What is the expected output? What do you see instead?
Three digit days.  I get three digit days, but now the seconds countdown from 
100, instead of 60.

What version of the product are you using? On what operating system?
dreamweaver cs4, a pos PC.

Please provide any additional information below.

This is for a charity project...I need all the help i can get...

http://letterstopeter.com

Original issue reported on code.google.com by aaronada...@gmail.com on 27 Apr 2011 at 6:51

GoogleCodeExporter commented 9 years ago
Fixed...

Change the following: line 51:

case 's':
            digits[c].__max = (c % 2 == 0) ? 5: 9;
        }

TO:
case 's':
            digits[c].__max = (c % 2 == 0) ? 9: 5;
        }

Original comment by aaronada...@gmail.com on 27 Apr 2011 at 7:29

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
still not work

Original comment by cowboy...@gmail.com on 29 Apr 2011 at 9:17

GoogleCodeExporter commented 9 years ago
Have now added a feature to allow a Date object to be used for startTime and 
fixed the format issues when you have "ddd:hh:mm:ss".

https://github.com/pfarmer/jquery-countdown

Original comment by pfar...@gmail.com on 22 Sep 2011 at 12:23