repair bad date when editing prace_polozka