happy path tested! current times correctly reported for LA, NY, Tokyo, and Jamaica!

Japan doesn't observer DST. I didn't know that.
This commit is contained in:
aj
2010-11-04 04:20:38 -07:00
parent d48d32ddbb
commit 7dd76519a0
10 changed files with 236 additions and 23 deletions

View File

@@ -14,8 +14,17 @@ load(File) ->
end
end,
{ok, Zones, Rules, Leaps, Links} = ezic_compile:separate(Records),
ezic_compile:flatten(Zones, Rules).
% @todo store in mnesia
% ezic_compile:flatten(Zones, Rules).
ezic_db:wipe(),
ezic_db:init(),
ezic_db:insert_all(Zones),
ezic_db:insert_all(Rules),
ezic_db:insert_all(Leaps),
ezic_db:insert_all(Links).