fix timezone and datetime format issue