fix so that time is set properly regardless of system timezone