arkdro
406fba57f2
use env for tzdata_dir
2013-02-13 00:46:56 +04:00
aj heller
52ad0119cb
removes unused code and changes variable names for clarity
2012-12-17 15:22:59 -08: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
d00937c3e9
lots of gutting. purposes, input, and output were unclear in many places. still broken.
2010-11-08 01:29:15 -08:00
aj
9ad8f3c826
lots of work towards flattening the records. stalled at ezic_rule:next_event/4
2010-11-07 18:32:37 -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