fix incorrect HTML time datetime format