2
0
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:
Faris Ansari 2020-05-11 20:09:39 +05:30
parent ac05b79789
commit d9bd73642b

View File

@ -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;
} }
} }
}; };