Commit graph

13 commits

Author SHA1 Message Date
687ad1ec1e correctly pad %e with a leading space, fixes #44 2014-08-08 16:58:24 -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
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
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
1633e4007c add support for passing in timezones 2013-10-14 18:43:00 -07:00
24ba42b128 export strftimeUTC and localizedStrftime properly in browsers, closes #27 2013-08-29 09:55:25 -07:00
10dc00040e RequiredDateMethods is not supposed to be global, fixes #26 2013-06-13 13:04:50 -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
71d3468fd1 update copyright and license stuff 2013-03-07 22:58:53 -08:00
Sami Samhuri
8791c074cc move lib/index.js to strftime.js 2013-03-07 19:55:51 -08:00
Renamed from lib/index.js (Browse further)