Commit graph

28 commits

Author SHA1 Message Date
Sami Samhuri
d7418223fd make %C pad the century, like C 2013-01-05 15:58:47 -05:00
Sami Samhuri
e761363a45 fix alphabetization of specifiers 2013-01-05 15:58:47 -05:00
Sami Samhuri
71195bba88 remove deprecated getLocalizedStrftime alias 2013-01-05 15:58:47 -05:00
Sami Samhuri
551bf4b5ad implement week numbers: %U and %W, closes #16 2013-01-05 10:52:45 -05:00
Sami Samhuri
f3aab9fa10 update contributors 2012-11-13 16:10:55 -08:00
Sami Samhuri
4643912213 fix %b format fall through, test new %j and %C specifiers 2012-11-13 16:06:40 -08:00
Ryan Stafford
3262e038f6 Added %j and %C 2012-11-13 07:04:42 -05:00
Sami Samhuri
c93f523951 Export strftime directly in Node, as module.exports, closes #10 2012-06-08 16:26:12 -07:00
Rob Colburn
ca6ca41766 Added lower-case p 2012-05-21 14:30:02 -07:00
Sami Samhuri
f7e89bd758 test locales, s/getLocalizedStrftime/localizedStrftime/ 2011-06-13 23:05:25 -07:00
Sami Samhuri
1ee97604bb update recursive calls to strftime, fix indentation 2011-06-08 01:02:10 -07:00
Sami Samhuri
70445ffc9a fix sign of %z, indentation 2011-06-08 01:00:35 -07:00
Sami Samhuri
0bb759d406 combine pad functions, test a couple branches of pad 2011-06-07 19:15:19 -07:00
Andrew Schaaf
314603eefe fix strftimeUTC("%s") (closes #7) 2011-06-07 15:22:00 -04:00
Andrew Schaaf
c5362e748c add %L for 3-digit milliseconds 2011-06-07 15:18:33 -04:00
Andrew Schaaf
2644ab016a %s: seconds, not ms (closes #6) 2011-06-07 15:11:57 -04:00
Sami Samhuri
cd4d2a3ec5 refactor, support exporting to global scope in ES5 strict mode 2011-06-05 16:47:32 -07:00
Andrew Schaaf
200dc2ef5e add strftimeUTC 2011-06-03 07:51:43 -04:00
Sami Samhuri
0a3d8532d3 fix %y for years outside [1900, 2099], closes #2 2011-06-02 11:45:39 -07:00
Sami Samhuri
507fadf8ca fix formats 2011-04-28 18:29:41 -07:00
Sami Samhuri
7a807339ce cleanup & comments 2011-03-03 19:18:29 -08:00
Sami Samhuri
157a85e8c2 use a locale object instead of a l10n function and localize formats 2011-03-03 19:16:09 -08:00
Sami Samhuri
3ed3282d23 first stab at supporting localization 2011-03-03 07:03:30 -08:00
Sami Samhuri
b8bee46933 fix for browser 2010-12-17 22:43:07 -08:00
Sami Samhuri
e39c67f753 actually export the function 2010-11-14 19:16:23 -08:00
Sami Samhuri
abc8331a9c fix order of args in recursive calls 2010-11-11 13:31:09 -08:00
Sami Samhuri
caec43bebd reduce the code by about half using replace 2010-11-11 13:24:42 -08:00
Sami Samhuri
f832767c6c first commit 2010-11-11 13:18:20 -08:00