Added automatic convertion to compatible dates on setting last write time