Don't compute date directly from timestamp operations

To avoid DST bug
Tentative fix for #52