Commit graph

135 commits

Author SHA1 Message Date
23cd5feb98 code formatting / nitpicks 2015-03-15 15:20:31 -07:00
6bf19b4454 remove test directory 2015-03-05 18:29:15 -08:00
ff9b94b3d9 minify & update bower.json 2015-03-05 17:02:53 -08:00
e3cfa8c497 Merge pull request #42 from samsonjs/v0.9
v0.9 rewrite - all about API and performance
2015-03-05 16:59:05 -08:00
e631d81206 Merge branch 'master' into v0.9
Conflicts:
	component.json
	package.json
2015-03-05 16:55:51 -08:00
49568677a7 v0.8.4 2015-03-05 16:51:05 -08:00
c029f7a79e Merge branch 'master' into v0.9
Conflicts:
	strftime.js
	test/test.js
2015-03-05 16:49:32 -08:00
d69f82854a Merge pull request #50 from cheslip/master
added support for extended offset format
2015-03-05 16:35:08 -08:00
Cory Heslip
1222467e47 added tests and updated docs 2015-03-04 17:18:19 -07:00
Cory Heslip
4de2693e51 added support for extended offset format 2015-03-04 16:50:39 -07:00
9146f45142 Merge pull request #48 from alexandrnikitin/Issue47_UtcConversionDoesntWorkCorrectly
(Fixes #47) Fix conversion of date to UTC
2015-03-04 13:43:55 -08:00
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