Преглед на файлове

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 седмици
родител
ревизия
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()}`,