Fix date field during install and uninstall