mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 05:11:20 +08:00
better fix
This commit is contained in:
@ -23,10 +23,12 @@ function addLocalDate(buffer, matches, state) {
|
||||
['class', 'discourse-local-date'],
|
||||
['data-date', config.date],
|
||||
['data-time', config.time],
|
||||
['data-recurring', config.recurring],
|
||||
['data-format', config.format],
|
||||
['data-timezones', config.timezones],
|
||||
];
|
||||
if (config.recurring) {
|
||||
token.attrs.push(['data-recurring', config.recurring]);
|
||||
}
|
||||
buffer.push(token);
|
||||
|
||||
const previews = config.timezones.split("|").filter(t => t).map(timezone => {
|
||||
|
Reference in New Issue
Block a user