Просмотр исходного кода

Added missing quotes to Fix Due Date Problem in Non-English Numbers.

Thanks to xet7 !

Fixes https://github.com/wekan/wekan/pull/5774,
fixes #5752
Lauri Ojansivu 3 недель назад
Родитель
Сommit
c0a9780f80
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      client/lib/datepicker.js

+ 1 - 1
client/lib/datepicker.js

@@ -113,7 +113,7 @@ export class DatePicker extends BlazeComponent {
           const newTime = moment(time, adjustedTimeFormat(), true);
           const dateValue = Utils.normalizeDigits(evt.target.date.value);
           const newDate = moment(dateValue, 'L', true);
-          const dateString = ${dateValue} ${time};
+          const dateString = `${dateValue} ${time}`;
           const newCompleteDate = moment(
             dateString,
             `L ${adjustedTimeFormat()}`,