mirror of
https://github.com/samsonjs/strftime.git
synced 2026-03-25 09:05:48 +00:00
%s: seconds, not ms (closes #6)
This commit is contained in:
parent
644bb65577
commit
2644ab016a
1 changed files with 1 additions and 1 deletions
|
|
@ -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':
|
||||
|
|
|
|||
Loading…
Reference in a new issue