diff --git a/test/client/js/libs/handlebars/localetimeTest.js b/test/client/js/libs/handlebars/localetimeTest.js index cd0a7ef9..f5de1d51 100644 --- a/test/client/js/libs/handlebars/localetimeTest.js +++ b/test/client/js/libs/handlebars/localetimeTest.js @@ -6,7 +6,7 @@ const localetime = require("../../../../../client/js/libs/handlebars/localetime" describe("localetime Handlebars helper", () => { it("should render a human-readable date", () => { // 12PM in UTC time - const date = new Date("2014-05-22T12:00:00"); + const date = new Date("2014-05-22T12:00:00Z"); // Offset between UTC and local timezone const offset = date.getTimezoneOffset() * 60 * 1000;