Nelsonsanu / jquery-countdown

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

Patch for /trunk/js/jquery.countdown.js #64

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Here is a bug: set  up startTime to "01:00:00:03" and start the countdown. 
After 3 seconds you'll get 00:59:59:59 (wrong)

There are only 24 hours in a day, so I made few changes: 
  + change in line 49 solves 59 hours issue.
  + change in line 50 solves 00:24:59:59 issue — this date is also impossible (after countdown from 01:00:00:00 it should be 00:23:59:59).

Original issue reported on code.google.com by Deavy...@gmail.com on 15 Jul 2013 at 8:28

Attachments: