fix date test messed up by timezone of testing machine