Skip to content

Commit

Permalink
utc
Browse files Browse the repository at this point in the history
  • Loading branch information
annagav committed Jan 27, 2025
1 parent 49c05b1 commit d7fcbf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/public/src/lib/util_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ describe("utility functions", () => {
})

it("formatPrettyDate should return a formatted moment date", () => {
const momentDate = moment("2019-01-01T00:00:00.000000Z")
const momentDate = moment.utc("2019-01-01T00:00:00.000000Z")
assert.equal(formatPrettyDate(momentDate), "January 1, 2019")
})

Expand Down

0 comments on commit d7fcbf1

Please sign in to comment.