Commit graph

213 commits

Author SHA1 Message Date
f36819ad99 merge V2 code and deprecate the old API 2015-02-07 20:58:53 -08:00
Alexandr Nikitin
016223fac4 Added optimized version 2015-02-07 20:57:56 -08:00
50c183b509 add bower.json, closes #45 2015-02-07 20:56:13 -08:00
c4c5c8d7b5 minify v0.8.2 2014-08-08 17:09:54 -07:00
9923253790 v0.8.2 2014-08-08 16:58:49 -07:00
687ad1ec1e correctly pad %e with a leading space, fixes #44 2014-08-08 16:58:24 -07:00
df17fc85c9 v0.8.1 2014-06-17 11:18:01 -07:00
50a267bf23 Merge pull request #40 from alexandrnikitin/Issue39_BugInPartialHourTimezone
Fix for #39 bug in partial hour timezones
2014-06-17 11:16:41 -07:00
Alexandr Nikitin
dfeb3f8e97 Fix for #39 (Bug when specify partial hour timezone)
Changed calculation of timezone offset in minutes
Added round and abs for partial hour
2014-06-17 18:21:29 +04: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
cc0bf35fc1 Merge pull request #38 from w0den/patch-1
Improve detection of timezone name
2014-05-24 18:08:34 -07:00
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