fix custom field date type calendar