5bfb5e64e2
Use mirrored URL for tzdata as data.iana.org apparently blocks requests
2025-12-31 11:52:25 +03:00
Manuel Rubio
0fc896df64
0.2.3 improve Makefile for building better for Elixir and Erlang
2022-06-26 03:42:10 +02:00
Daniel Ribes
bbcef9a45b
Updated URL with HTTPS and to avoid 302
2019-10-21 00:35:13 +02:00
Juan Wajnerman
f27b57e00a
Disable erlang shell while generating files
2013-11-05 23:26:06 -03:00
Juan Wajnerman
8f0a03dbe5
Generate one file at a time (don't require ulimit change)
2013-11-05 23:22:58 -03:00
Juan Wajnerman
2acb3d49fc
Added rebar.config
2013-10-19 15:25:03 -03:00
aj
a90d6246ec
moving from mnesia to ets. matchspecs are complicated when dates and atoms are involved.
2010-11-18 00:28:50 -08:00
aj
63c8a29198
updated the readme. error-tested the local_to_utc methods. light changes to the makefile
2010-11-14 01:38:23 -08:00
aj
d664384c60
Costa Rica's flatzones aren't processed after 1992. Gotta check her out.
2010-11-13 22:54:44 -08:00
aj
3f438e66e0
handled case where zone and rule both end. dealing with Tripoli recursion bug (ambiguous year in ezic_date:for_rule)
2010-11-13 03:25:50 -08:00
aj
c976e63349
removed all warnings. fixed bug in ezic_zone:next/3. unit tests for ezic_zone:next/3
...
ezic_zone:next/3 was not filtering the Zones to only those after UTCFrom. This may have caused an endless loop, always returning the earliest zone regardless of the progress of time. I wont know; I caught it rather early.
2010-11-11 23:52:10 -08:00
aj
7dd76519a0
happy path tested! current times correctly reported for LA, NY, Tokyo, and Jamaica!
...
Japan doesn't observer DST. I didn't know that.
2010-11-04 04:20:38 -07:00
aj
e9d247784e
separated out rule and date logic. WIP: flattening the data, absolute from fuzzy dates, comparing dates
2010-11-03 23:33:06 -07:00
aj
188f31d543
parsing tzdata files appears to be functionally complete.
...
calling ezic:load("/path/to/tzdata_folder") returns a list of records without erroring-out.
The content may not be accurate; @todo create accuracy tests (idea: use system's zic/localtime/tzselect/etc.).
2010-11-03 15:06:51 -07:00
aj
3c965fe7b6
added debug build, fleshing out the tzdata parser. currently broken
2010-11-03 02:49:13 -07:00
aj
563f2c6e09
fleshed out API, and removed 'start method'.
2010-11-03 01:03:07 -07:00
aj
59f18e4270
added naive Makefile, stubs of modules, unit test coordinator (test_master)
2010-11-03 00:30:59 -07:00