From da6f08c9d057a690eb39d47ae6510f90fbea805a Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Tue, 20 Oct 2020 02:25:57 +1300 Subject: [PATCH] Drop seconds from message dates --- build/static/Timeline.js | 2 +- src/js/Timeline.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/static/Timeline.js b/build/static/Timeline.js index 0adce82..a957a1c 100644 --- a/build/static/Timeline.js +++ b/build/static/Timeline.js @@ -5,7 +5,7 @@ import {Anchor} from "./Anchor.js" import * as lsm from "./lsm.js" import {resolveMxc} from "./functions.js" -const dateFormatter = Intl.DateTimeFormat("default", {hour: "numeric", minute: "numeric", second: "numeric", day: "numeric", month: "short", year: "numeric"}) +const dateFormatter = Intl.DateTimeFormat("default", {hour: "numeric", minute: "numeric", day: "numeric", month: "short", year: "numeric"}) let sentIndex = 0 diff --git a/src/js/Timeline.js b/src/js/Timeline.js index 0adce82..a957a1c 100644 --- a/src/js/Timeline.js +++ b/src/js/Timeline.js @@ -5,7 +5,7 @@ import {Anchor} from "./Anchor.js" import * as lsm from "./lsm.js" import {resolveMxc} from "./functions.js" -const dateFormatter = Intl.DateTimeFormat("default", {hour: "numeric", minute: "numeric", second: "numeric", day: "numeric", month: "short", year: "numeric"}) +const dateFormatter = Intl.DateTimeFormat("default", {hour: "numeric", minute: "numeric", day: "numeric", month: "short", year: "numeric"}) let sentIndex = 0