Commit graph

224 commits

Author SHA1 Message Date
Alexandr Nikitin
05c64ef5fb Merge pull request #1 from samsonjs/utc-year
correct fuzzy interpretation of old years by new Date()
2015-03-04 23:43:12 +02:00
f7799a1d21 correct fuzzy interpretation of old years by new Date() 2015-03-04 09:14:58 -08: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
9e191bf5c6 ignore test directory in bower.json 2015-02-08 20:44:15 -08:00
14ad6dc902 release v0.8.3 for bower 2015-02-08 20:42:58 -08: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
e16f49f4c0 update readme for 0.9 API 2015-02-07 20:59:15 -08:00
6ab81c89cb code style 2015-02-07 20:59:15 -08:00
f1581a3c9d bump version to 0.9.0 2015-02-07 20:59:14 -08:00
f521749967 add @alexandrnikitin to contributors 2015-02-07 20:58:54 -08:00
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