mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +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) {
|
||||
let end = moment(checkedDate);
|
||||
let end = moment.utc(checkedDate);
|
||||
end.date(TYPE_SCHEDULE[matcher.type]);
|
||||
end.hour(0);
|
||||
end.minute(0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue