Commit graph

101 commits

Author SHA1 Message Date
w0den
9ea642274c Improve detection of timezone name
Timezone name can contain contain spaces (ex. "GTB Daylight Time" or "Pacific Daylight Time") this is why we should use [\w\s+] instead of \w.
2014-05-21 16:34:35 +03:00
f3bed1d081 Merge pull request #35 from d48/update-usage
update usage for examples using Y for century
2014-03-26 11:38:40 -07:00
Ryan Regalado
a40f44d2d3 update usage for examples using Y for century 2014-03-26 10:52:11 -07:00
e130c268d4 v0.8.0 2014-01-29 14:45:53 -08:00
41df57b773 minify 2014-01-29 14:44:35 -08:00
78733ba108 make test-minified depend on minify task 2014-01-29 14:44:29 -08:00
0652b285a7 test for string timezones, fix a bug 2014-01-29 14:42:35 -08:00
99382d2d5e allow string timezone offsets of the form [-+]HHMM, closes #33 2014-01-29 14:35:39 -08:00
61f6193e57 add an example of each format specifier inline in the code 2013-11-19 19:17:30 -08:00
0052ee0a0e don't assume PST/PDT when TZ is empty 2013-11-19 18:55:28 -08:00
d74f3ef64d v0.7.0 2013-11-08 18:05:51 -08:00
af7a530b6d Merge branch 'timezones' 2013-11-08 18:04:56 -08:00
303667d059 fix Readme error 2013-10-14 18:50:09 -07:00
1633e4007c add support for passing in timezones 2013-10-14 18:43:00 -07:00
6912b47d59 v0.6.2 2013-08-29 09:55:53 -07:00
24ba42b128 export strftimeUTC and localizedStrftime properly in browsers, closes #27 2013-08-29 09:55:25 -07:00
992062064c update component.json 2013-06-13 13:06:37 -07:00
71e53e7a57 v0.6.1 2013-06-13 13:05:33 -07:00
10dc00040e RequiredDateMethods is not supposed to be global, fixes #26 2013-06-13 13:04:50 -07:00
89d187c473 v0.6.0 2013-05-15 16:34:17 -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
e02de2786d update minified code 2013-04-07 20:19:40 -07:00
Sami Samhuri
1a649cee74 v0.5.2 2013-04-07 20:18:02 -07:00
Sami Samhuri
2e6443f394 actually pad day of year for %j, closes #22 2013-04-07 20:14:08 -07:00
Sami Samhuri
a3ef8f712a fix up package.json 2013-03-13 20:14:03 -07:00
Sami Samhuri
71d3468fd1 update copyright and license stuff 2013-03-07 22:58:53 -08:00
Sami Samhuri
f005928d33 test minified script for good measure 2013-03-07 20:00:28 -08:00
Sami Samhuri
2796149127 add minified version to the repo 2013-03-07 19:56:03 -08:00
Sami Samhuri
8791c074cc move lib/index.js to strftime.js 2013-03-07 19:55:51 -08:00
Sami Samhuri
e18c7abf88 update readme to mention %- %_ and %0 2013-03-07 19:48:50 -08:00
Sami Samhuri
71af5de2e3 support Ruby extensions: %- %_ and %0 (closes #18) 2013-03-07 19:43:57 -08:00
Sami Samhuri
a5e2d305db 0.5.1 2013-03-07 10:31:42 -08:00
Sami Samhuri
8565e692a1 don't check for Date instances, just required methods 2013-03-07 10:31:42 -08:00
Sami Samhuri
403504a494 fix %z for timezones greater than GMT 2013-03-07 10:31:42 -08:00
Sami Samhuri
b38a331c1a add node_modules to gitignore 2013-03-07 10:31:42 -08:00
5a051ac15c Merge pull request #20 from jzwinck/patch-1
Readme: add examples using specific dates instead of "now"
2013-03-02 10:44:50 -08:00
John Zwinck
163efa1964 Readme: add examples using specific dates instead of "now" 2013-03-02 09:14:11 +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
a21ff6140b update copyright notice 2013-01-05 15:58:47 -05:00
Sami Samhuri
17f7d5bb2c flesh out readme with descriptions of each specifier 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
e761363a45 fix alphabetization of specifiers 2013-01-05 15:58:47 -05:00
Sami Samhuri
b9a29d1643 add a makefile 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
64e4ed4834 update component.json for v0.5 2013-01-05 10:56:18 -05:00
Sami Samhuri
2d63ed7564 0.5.0 2013-01-05 10:54:19 -05:00
Sami Samhuri
551bf4b5ad implement week numbers: %U and %W, closes #16 2013-01-05 10:52:45 -05:00
Sami Samhuri
5db99eec35 Merge pull request #14 from ForbesLindesay/patch-1
component.json wasn't valid JSON
2012-12-04 15:12:33 -08:00
Forbes Lindesay
36cd2e950d This wasn't valid JSON 2012-12-04 14:18:03 +00:00