From d9bd73642b469482ce529f302896937048e62e87 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Mon, 11 May 2020 20:09:39 +0530 Subject: [PATCH] fix: Datepicker - Remove timezone adjustment --- src/components/DatePicker/DatePicker.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DatePicker/DatePicker.vue b/src/components/DatePicker/DatePicker.vue index 03649e72..16f55ba6 100644 --- a/src/components/DatePicker/DatePicker.vue +++ b/src/components/DatePicker/DatePicker.vue @@ -204,7 +204,7 @@ export default { getDate(...args) { let d = new Date(...args); - return new Date(d.getTime() - d.getTimezoneOffset() * 60000); + return d; } } };