fix retain date in edit PR