Fixed the timezone management for events

Previously dates were properly displayed, but tested in UTC instead of
local time.