2
0
Эх сурвалжийг харах

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 долоо хоног өмнө
parent
commit
c0a9780f80

+ 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()}`,