diff --git a/plugins/discourse-local-dates/assets/javascripts/discourse/components/discourse-local-dates-create-form.js.es6 b/plugins/discourse-local-dates/assets/javascripts/discourse/components/discourse-local-dates-create-form.js.es6 index 9cb7bf5ac1d..8f0729360b4 100644 --- a/plugins/discourse-local-dates/assets/javascripts/discourse/components/discourse-local-dates-create-form.js.es6 +++ b/plugins/discourse-local-dates/assets/javascripts/discourse/components/discourse-local-dates-create-form.js.es6 @@ -76,7 +76,7 @@ export default Ember.Component.extend({ let text = `[date=${config.date} `; if (config.recurring) text += `recurring=${config.recurring} `; text += `time=${config.time} `; - text += `format=${config.format} `; + text += `format="${config.format}" `; text += `timezones="${config.timezones.join("|")}"`; text += `]`; return text;