Open GoogleCodeExporter opened 9 years ago
How to add date?
Original comment by Chudik...@gmail.com
on 13 Oct 2010 at 11:48
[deleted comment]
In line 19:
var arrival=new Date(today.getFullYear(), 10, 25)
10 means November (months 0-11)
25 means the 26th (days 0-29 for Nov)
________________________________________________________
Also, may want to add something like this between lines 20-21 so that a date
that has already passed won't be invalid (haven't tested this for sure):
if (today.getMonth()==11 && today.getDate()>25) //if the date has passed already
arrival.setFullYear(arrival.getFullYear()+1) //calculate next year's date
instead
Original comment by spsauc...@gmail.com
on 13 Oct 2010 at 1:15
@spsaucier --
Your code causes the counter to go from 00 to 95, instead of 59 like it should.
Original comment by wastingt...@gmail.com
on 19 Nov 2010 at 8:57
I think this is an important feature - in fact, it's probably the most
important.
Specifying a time interval is not useful to my use case at all - I have a date,
and I need to countdown to it - wouldn't this be the 90% use case?
Original comment by spurrymo...@gmail.com
on 11 Dec 2010 at 5:45
@spsaucier --
Your code causes the counter to go from 00 to 95, instead of 59 like it should.
Original comment by jbuenafl...@gmail.com
on 20 May 2011 at 11:29
is there a fix for the countdown's seconds part hitting 95 seconds?
Original comment by abbas11...@gmail.com
on 15 Aug 2011 at 12:23
I've put a few fixed together here:
https://github.com/pfarmer/jquery-countdown
and will continue to improve the code and add features, patches and pull
requests are welcome!
Original comment by pfar...@gmail.com
on 22 Sep 2011 at 10:12
Have now added a feature to allow a Date object to be used for startTime.
https://github.com/pfarmer/jquery-countdown
Original comment by pfar...@gmail.com
on 22 Sep 2011 at 12:20
I do not get a proper display when using "startTime: new Date('June 01, 2013
14:00:00')". Is there no possibility to get more than 99 days???
Original comment by MojitoJoe
on 25 Jun 2012 at 12:57
I figured out that this was caused by the div appended in line 181
("where.append('<div>');"). Commenting that line did it. Don't know what these
divs are used for (are empty).
Original comment by MojitoJoe
on 25 Jun 2012 at 1:08
Original issue reported on code.google.com by
spsauc...@gmail.com
on 13 Oct 2010 at 12:17