Commit graph

102 commits

Author SHA1 Message Date
Jesse Gumm
cee705be45 Version bump (1.2.1) 2022-12-09 15:40:10 -06:00
Jesse Gumm
9833becbb6 Add 'test' rule to makefile that's just an alias of make check 2022-12-09 15:35:24 -06:00
Jesse Gumm
b97f2432ce Make a few smaller changes to the db generation. Still not properly functional 2022-12-09 15:34:29 -06:00
Jesse Gumm
95c44085d9 Move the db generation into the priv directory 2022-12-09 15:25:37 -06:00
Jesse Gumm
3127dcddfb Dynamically build rebar3 if needed
Also tweaked `tz-erl` with some proposed updates from
https://github.com/choptastic/qdate_localtime/pull/1
2022-12-09 15:13:35 -06:00
Jesse Gumm
cf9e726d1b
Merge pull request #7 from mworrell/tz-iran-no-dst
Remove DST from Iran. Fixes #6
2022-12-08 12:21:38 -06:00
Marc Worrell
13c44576ac
Update tz_database.hrl 2022-11-25 21:55:41 +01:00
Marc Worrell
28ea9f254f Remove DST from Iran. Fixes #6 2022-11-25 18:56:17 +01:00
Jesse Gumm
5729500223 Remove vim swapfiles from git tracking 2021-07-01 08:44:03 -05:00
Jesse Gumm
ef91711e12 Reimplement the hacked version of Etc/UTC ignoring DST 2021-07-01 08:38:18 -05:00
Jesse Gumm
bfafac0d48 Remove printdebug 2021-06-30 21:19:47 -05:00
Jesse Gumm
2b57a7cd57 More pre_hook stuff 2021-06-30 20:59:58 -05:00
Jesse Gumm
4be0f89c12 Update rebar3 2021-06-30 19:03:54 -05:00
Jesse Gumm
8efb32b3cb tz_index.hrl is gone 2021-06-30 18:48:59 -05:00
Jesse Gumm
ee00e4bf2a Version Bump 2021-06-30 18:47:05 -05:00
Jesse Gumm
7852777534 Reworked so that the tz_index is built as a module, rather than a raw dict, so it passes dialyzer 2021-06-30 18:42:38 -05:00
Jesse Gumm
a83ffd04db Merge branch 'master' of github.com:choptastic/qdate_localtime 2021-05-12 15:53:52 -05:00
Jesse Gumm
f46392254b If timezone check crashes, specify what was actually passed as the timezone 2021-05-12 15:52:47 -05:00
Jesse Gumm
245069f961
Merge pull request #3 from zotonic/master
Added daylight savings rounding rules for Asia/Tehran
2020-05-04 15:44:22 -05:00
Maas-Maarten Zeeman
acb873dcde Added daylight savings rounding rules for Asia/Tehran 2020-05-04 10:33:32 +02:00
Jesse Gumm
92b0438db5 Rename project to qdate_localtime 2016-07-06 17:27:10 -05:00
Jesse Gumm
553e358728 Bump version 2016-03-01 00:06:09 -06:00
Jesse Gumm
c0c4e3e386 Ensure that UTC timezone is Etc/UTC.
With Antarctica/Troll in UTC which uses DST, it was taking UTC and
trying to apply DST, which doesn't make sense, since a user specifying
UTC will not want to use DST.
2016-03-01 00:01:28 -06:00
Jesse Gumm
4afd6ce482 Merge pull request #4 from dalmatinerdb/hex
Add missing fields for hex publish
2016-02-26 14:09:39 -06:00
Heinz N. Gies
d3d815280d Add missing fields for hex publish 2016-02-18 01:23:25 -05:00
Jesse Gumm
78276b1f9e Merge remote-tracking branch 'dhull/update-database-olson2015g' into merged-gmt-fix 2016-01-31 09:02:40 -06:00
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
1b3c22c7aa Update timezone database from Olson 2015g. 2015-11-21 23:48:35 +00:00
David Hull
67b61c8f94 ibuild: Write newline to end of tz_index.hrl file. 2015-11-21 23:48:28 +00: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