#691- Fix problem with JS date formatting and scheduling a deployment for a date in the future