Solve bug in date dealing with timezone