|
|
6bf19b4454
|
remove test directory
|
2015-03-05 18:29:15 -08:00 |
|
|
|
c029f7a79e
|
Merge branch 'master' into v0.9
Conflicts:
strftime.js
test/test.js
|
2015-03-05 16:49:32 -08:00 |
|
Cory Heslip
|
1222467e47
|
added tests and updated docs
|
2015-03-04 17:18:19 -07:00 |
|
Alexandr Nikitin
|
b0a4d5a84a
|
Fix conversion of date to UTC
Method based on one of SO answers: http://stackoverflow.com/questions/948532/how-do-you-convert-a-javascript-date-to-utc
|
2015-03-03 12:26:23 +02:00 |
|
|
|
603326eaed
|
code style and copyright
|
2015-02-07 20:59:15 -08:00 |
|
|
|
6bc6888fff
|
add support for %c, %x, and %X (closes #43)
based on @alexandrnikitin's commit here: f25c89bb0f
|
2015-02-07 20:59:15 -08:00 |
|
|
|
f36819ad99
|
merge V2 code and deprecate the old API
|
2015-02-07 20:58:53 -08:00 |
|
|
|
687ad1ec1e
|
correctly pad %e with a leading space, fixes #44
|
2014-08-08 16:58:24 -07:00 |
|
Alexandr Nikitin
|
eedbb8b701
|
Added a failing test for #39 (Bug when specify partial hour timezone)
|
2014-06-17 18:19:13 +04:00 |
|
|
|
90ec02de2c
|
cosmetic changes to tests
|
2014-05-24 18:09:41 -07:00 |
|
|
|
0652b285a7
|
test for string timezones, fix a bug
|
2014-01-29 14:42:35 -08:00 |
|
|
|
0052ee0a0e
|
don't assume PST/PDT when TZ is empty
|
2013-11-19 18:55:28 -08:00 |
|
|
|
1633e4007c
|
add support for passing in timezones
|
2013-10-14 18:43:00 -07:00 |
|
|
|
088600d67f
|
implement %o to get the day of the month as an ordinal
|
2013-05-15 16:34:06 -07:00 |
|
Sami Samhuri
|
2e6443f394
|
actually pad day of year for %j, closes #22
|
2013-04-07 20:14:08 -07:00 |
|
Sami Samhuri
|
f005928d33
|
test minified script for good measure
|
2013-03-07 20:00:28 -08:00 |
|
Sami Samhuri
|
8791c074cc
|
move lib/index.js to strftime.js
|
2013-03-07 19:55:51 -08:00 |
|
Sami Samhuri
|
71af5de2e3
|
support Ruby extensions: %- %_ and %0 (closes #18)
|
2013-03-07 19:43:57 -08:00 |
|
Sami Samhuri
|
403504a494
|
fix %z for timezones greater than GMT
|
2013-03-07 10:31:42 -08:00 |
|
Sami Samhuri
|
4bcd6d2a2f
|
minor changes to tests
|
2013-01-05 16:04:12 -05:00 |
|
Sami Samhuri
|
d75c4eb415
|
make test.js executable, add shebang line
|
2013-01-05 15:58:47 -05:00 |
|
Sami Samhuri
|
d7418223fd
|
make %C pad the century, like C
|
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
|
4643912213
|
fix %b format fall through, test new %j and %C specifiers
|
2012-11-13 16:06:40 -08:00 |
|
Sami Samhuri
|
3d6a02bde2
|
add tests for lowercase am/pm via %P
|
2012-05-21 14:40:35 -07:00 |
|
Sami Samhuri
|
f7e89bd758
|
test locales, s/getLocalizedStrftime/localizedStrftime/
|
2011-06-13 23:05:25 -07:00 |
|
Sami Samhuri
|
2349fcd6d3
|
moar test coverage
|
2011-06-08 00:57:02 -07:00 |
|
Sami Samhuri
|
0bb759d406
|
combine pad functions, test a couple branches of pad
|
2011-06-07 19:15:19 -07:00 |
|
Sami Samhuri
|
607d1f075a
|
s/coffee/java/g
|
2011-06-07 18:49:59 -07:00 |
|