mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 02:35:51 +08:00
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} `;
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user