fix timezone of database query