%s: seconds, not ms (closes #6)

This commit is contained in:
Andrew Schaaf 2011-06-07 15:11:57 -04:00
parent 644bb65577
commit 2644ab016a

View file

@ -100,7 +100,7 @@
case 'R': return strftime(locale.formats.R || '%H:%M', d, locale);
case 'r': return strftime(locale.formats.r || '%I:%M:%S %p', d, locale);
case 'S': return pad(d.getSeconds());
case 's': return d.getTime();
case 's': return Math.floor(d.getTime() / 1000);
case 'T': return strftime(locale.formats.T || '%H:%M:%S', d, locale);
case 't': return '\t';
case 'u':