Commit Graph

7 Commits

Author SHA1 Message Date
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