Lwangaman/jQuery-Clock-Plugin — Issue #2: When the timestamp is bigger than 24h
Author: CGUGileno
Created: 2011-10-20 02:51:51+00:00
State: open

Hi,

I am testing your plugin to show just the time (hh:mm:ss).

When the timestamp is bigger than 24h, I was expecting to show:

30:25:10

Instead, it is showing:

06:25:10

So, I added a little bit of code to work like I was expecting:

if (n.format == "12") { ... }

//new code
if (n.format == "TT") {
p = parseFloat(m.getTime() / 1000 / 60 / 60);
}