Commit graph

74 commits

Author SHA1 Message Date
Jesse Gumm
32cb7d9e90 Merge remote-tracking branch 'jacktang/gmt-offset-fix'
Conflicts:
	src/localtime.erl
2016-01-31 08:54:38 -06:00
Heinz N. Gies
e561089118 Rebar3 / hex compatiblility.
Conflicts:
	.gitignore
	src/erlang_localtime.app.src
2016-01-31 08:25:37 -06:00
Anton Rusanov
acc01b92f0 relx compatible 2016-01-31 08:24:04 -06:00
slepher
a8e18a2286 update signal 2016-01-29 17:33:54 +08:00
Jack Tang
38de0fb581 get_timezone supports binary input 2016-01-11 10:50:37 +08:00
Jack Tang
1cb0303385 Fix GMT+X / GMT-X issue 2015-12-05 17:27:21 +08:00
David Hull
73665bea0b tz-erl: Better document problem when a zone begins or ends using DST.
Worked around 2015 Uraguay problem by allowing database to be generated
for 2016 instead (with "make DATE=2016-01-01").
2015-11-21 22:48:36 +00:00
David Hull
031652afd4 tz-erl: Include month and day in future 'until' check. 2015-11-21 21:56:04 +00:00
David Hull
b36ea2cec2 Fix offsets for "GMT+X" and "GMT-X" timezones. 2015-11-21 21:17:01 +00:00
David Hull
7904dd3405 tz-erl: Fix offset_minutes($o) when $o just digits is hours offset.
Previouly when offset_minute's argument was just digits (for example,
"+2" instead of "+2:00"), the argument was incorrectly interpreted as
minutes when it should be as hours.
2015-11-21 20:56:10 +00:00
David Hull
40d241b138 Handle fmt_shift(0) -> 0.
tz_shift(_, "UTC") returns 0, but fmt_shift/1 previously did not handle
that.  An alternative fix would be for tz_shift(_, "UTC") to return
{'+', 0, 0}.
2015-11-21 20:30:56 +00:00
Jesse Gumm
cea3d79936 Re-implemented PR #8 2015-11-05 10:39:57 -06:00
Dmitry Melnikov
458cedf2a2 Merge pull request #22 from Dinkor/master
Fix Russian timezones in Asia
2015-10-01 23:45:19 +03:00
Dmitry Melnikov
19808fff06 Merge pull request #21 from inaka/master
Rebar and relx compatibility
2015-10-01 23:44:27 +03:00
Dmitry Melnikov
fe6c8859b0 Merge pull request #20 from inaka/jfacorro.add_rebar_config
Add rebar.config and .gitignore
2015-10-01 23:43:23 +03:00
Sergey Korobkov
5394441551 More updates from http://www.iana.org/time-zones (Time Zone Data v.2015f) 2015-10-01 11:18:24 +00:00
Sergey Korobkov
cf5deede68 Volgograd must be "MSK" timezone.
Kaliningrad must be "EET" timezone.
Source http://www.iana.org/time-zones
2015-10-01 11:03:19 +00:00
Sergey Korobkov
3011e33181 Fix Russian timezones in Asia 2015-10-01 10:25:58 +00:00
Brujo Benavides
e68f5761bd Merge pull request #2 from inaka/jfacorro.add_rebar_config
Add rebar.config and .gitignore
2015-09-21 15:27:59 -03:00
Juan Facorro
608f21bdcf Add rebar.config and .gitignore files 2015-09-21 15:09:18 -03:00
Dmitry S. Melnikov
12e74ff349 COPYING removed 2015-09-19 09:41:01 +03:00
Dmitry S. Melnikov
c6a47bbb70 license changed to apache 2015-09-19 09:39:33 +03:00
Dmitry Melnikov
4e33157a58 Merge pull request #14 from mokevnin/patch-1
add modules section to app.src
2015-06-25 20:57:47 +03:00
Iñaki Garay
c888752806 Merge pull request #1 from inaka/jfacorro.17.relx_compatible
[#17] Added applications to .app.src
2015-06-24 16:12:47 -03:00
Juan Facorro
7f1c4bd4fd [#17] Added applications to .app.src 2015-06-24 15:57:15 -03:00
Dmitry S. Melnikov
bf6faa2e01 Moscow back to winter time 2014-10-26 09:35:27 +03:00
Dmitry Melnikov
272b130d56 Merge pull request #16 from dhull/update-database-script
Script to update timezone database from Olson data
2014-10-26 09:00:06 +03:00
David Hull
632c3e2d6e Add tz-erl script to generate timezone database from Olson data. 2014-04-08 10:32:30 -07:00
Mokevnin Kirill
568fd68bee add modules section to app.src
when i was trying generate release by relx, i have got message "Errors generating release. erlang_localtime: Missing parameter in .app file: applications"
2014-04-01 16:22:15 +04:00
Dmitry S. Melnikov
9caa2b2a0b GPL removed 2014-03-07 10:08:12 +04:00
Dmitry Melnikov
66468690b6 Merge pull request #10 from dhull/update-database
Update time zone database from Olson database
2014-01-16 00:32:48 -08:00
David Hull
039cb88a9b Add more localtime_dst tests.
Some of these tests are currently failing.
2014-01-10 18:33:45 -08:00
David Hull
ab922e427b Update timezone database from Olson 2013i.
Some adjustments had to be made for the erlang_localtime format; these
are noted in the database file.
2014-01-10 18:33:45 -08:00
David Hull
6d4985d5f2 Prefer underscores in timezone names, but accept spaces. 2014-01-10 18:33:44 -08:00
David Hull
4ad81b03fd Added Makefile rule to build tz_index.hrl. 2014-01-10 18:09:46 -08:00
David Hull
fd54c471a7 Correct tz_database documentation, code expects 'last' not -1. 2014-01-09 15:07:01 -08:00
Dmitry S. Melnikov
d2dccd0327 Europe/Minsk changed timezone 2013-10-31 09:47:22 +04:00
Dmitry Melnikov
28d15bb07e Update localtime.erl 2013-10-18 16:08:05 +04:00
Dmitry Melnikov
2c8dd7244b Update localtime.erl 2013-10-18 15:19:36 +04:00
Dmitry Melnikov
32028e4d59 Update COPYING 2013-02-13 17:19:10 +04:00
Dmitry Melnikov
938dbee15f C 2013-01-27 23:30:21 +04:00
Dmitry Melnikov
0787077b38 Update README.md 2013-01-23 19:00:32 +04:00
Dmitry Melnikov
21d6f848db Update README.md 2013-01-23 18:55:23 +04:00
Dmitry Melnikov
c9aa1b9c09 Update Makefile 2013-01-23 17:39:33 +04:00
Dmitry Melnikov
2e45078ed5 Update README.md 2012-11-02 14:53:09 +04:00
Dmitry Melnikov
951f6a2ac9 Update README.md 2012-11-02 14:51:17 +04:00
Dmitry Melnikov
a790ae583b Update README.md 2012-11-02 14:49:19 +04:00
Dmitry S. Melnikov
0890baace4 ren 2012-10-31 08:33:12 +04:00
Dmitry Melnikov
44ae1cd1b3 Merge pull request #4 from KodiEhf/master
Fixed the app.src to match the new application name
2012-10-30 11:41:01 -07:00
nisbus
c47a5653b0 Fixed the name of the application to match the new underscored name 2012-10-30 15:14:08 +00:00