fix time on edit page