fix custom date