mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Fix problem with dates in selector being unpickled as a String
This commit is contained in:
parent
223cc07139
commit
a63a61e7fc
3 changed files with 61 additions and 24 deletions
|
|
@ -363,13 +363,13 @@ BlazeComponent.extendComponent({
|
|||
if (date) {
|
||||
value = {
|
||||
operator: '$lt',
|
||||
value: date.format(),
|
||||
value: date.format('YYYY-MM-DD'),
|
||||
};
|
||||
}
|
||||
} else if (operator === 'dueAt' && value === 'overdue') {
|
||||
value = {
|
||||
operator: '$lt',
|
||||
value: moment(moment().format('YYYY-MM-DD')).format(),
|
||||
value: moment().format('YYYY-MM-DD'),
|
||||
};
|
||||
} else {
|
||||
this.parsingErrors.push({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue