mirror of
https://github.com/frappe/books.git
synced 2024-11-10 15:50:56 +00:00
fix: Datepicker
- Remove timezone adjustment
This commit is contained in:
parent
ac05b79789
commit
d9bd73642b
@ -204,7 +204,7 @@ export default {
|
|||||||
|
|
||||||
getDate(...args) {
|
getDate(...args) {
|
||||||
let d = new Date(...args);
|
let d = new Date(...args);
|
||||||
return new Date(d.getTime() - d.getTimezoneOffset() * 60000);
|
return d;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user