Fixed issue with external editor breaking date formats