mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FIX: adds quotes around format when creating a local date
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user