فهرست منبع

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 newTime = moment(time, adjustedTimeFormat(), true);
           const dateValue = Utils.normalizeDigits(evt.target.date.value);
           const dateValue = Utils.normalizeDigits(evt.target.date.value);
           const newDate = moment(dateValue, 'L', true);
           const newDate = moment(dateValue, 'L', true);
-          const dateString = ${dateValue} ${time};
+          const dateString = `${dateValue} ${time}`;
           const newCompleteDate = moment(
           const newCompleteDate = moment(
             dateString,
             dateString,
             `L ${adjustedTimeFormat()}`,
             `L ${adjustedTimeFormat()}`,