attempt at solving Period vs timezone issue