FIX: adds quotes around format when creating a local date

This commit is contained in:
Joffrey JAFFEUX 2018-05-28 11:05:37 +02:00 committed by GitHub
parent aeb511e8ff
commit 42b2bfe262
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;