FIX: adds quotes around format when creating a local date
This commit is contained in:
parent
aeb511e8ff
commit
42b2bfe262
|
@ -76,7 +76,7 @@ export default Ember.Component.extend({
|
||||||
let text = `[date=${config.date} `;
|
let text = `[date=${config.date} `;
|
||||||
if (config.recurring) text += `recurring=${config.recurring} `;
|
if (config.recurring) text += `recurring=${config.recurring} `;
|
||||||
text += `time=${config.time} `;
|
text += `time=${config.time} `;
|
||||||
text += `format=${config.format} `;
|
text += `format="${config.format}" `;
|
||||||
text += `timezones="${config.timezones.join("|")}"`;
|
text += `timezones="${config.timezones.join("|")}"`;
|
||||||
text += `]`;
|
text += `]`;
|
||||||
return text;
|
return text;
|
||||||
|
|
Loading…
Reference in New Issue