mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
Fix Can't set a Due Date that has a leading zero in time, errors with invalid time.
Thanks to C0rn3j and xet7 ! Fixes #5395
This commit is contained in:
parent
f311359373
commit
9cebee7347
1 changed files with 3 additions and 2 deletions
|
|
@ -6,10 +6,11 @@ import moment from 'moment/min/moment-with-locales';
|
|||
function adjustedTimeFormat() {
|
||||
return moment
|
||||
.localeData()
|
||||
.longDateFormat('LT')
|
||||
.replace(/HH/i, 'H');
|
||||
.longDateFormat('LT');
|
||||
}
|
||||
|
||||
// .replace(/HH/i, 'H');
|
||||
|
||||
export class DatePicker extends BlazeComponent {
|
||||
template() {
|
||||
return 'datepicker';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue