Skip to content
Snippets Groups Projects
Commit db6f4ae3 authored by Benyounes Moumni's avatar Benyounes Moumni
Browse files

Revert "Preseve timezone when converting Date to moment"

This reverts commit 877988f4.
parent 877988f4
Branches
Tags v0.9-final
No related merge requests found
......@@ -11,6 +11,6 @@ export function parseTimestamp(value, unit) {
// workaround for https://github.com/metabase/metabase/issues/1992
return moment().year(value).startOf("year");
} else {
return moment(value);
return moment.utc(value);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment