mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-13 17:52:22 +00:00
make sure schedule end dates are set as utc
This commit is contained in:
parent
f835cf2761
commit
a8c8fffa7c
1 changed files with 1 additions and 1 deletions
|
|
@ -868,7 +868,7 @@ function makeMatcherClass (date) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function makeEndDate (checkedDate, matcher) {
|
function makeEndDate (checkedDate, matcher) {
|
||||||
let end = moment(checkedDate);
|
let end = moment.utc(checkedDate);
|
||||||
end.date(TYPE_SCHEDULE[matcher.type]);
|
end.date(TYPE_SCHEDULE[matcher.type]);
|
||||||
end.hour(0);
|
end.hour(0);
|
||||||
end.minute(0);
|
end.minute(0);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue