Drop seconds from message dates
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Cadence Ember 2020-10-20 02:25:57 +13:00
parent bdde6a5413
commit da6f08c9d0
Signed by: cadence
GPG key ID: BC1C2C61CF521B17
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ import {Anchor} from "./Anchor.js"
import * as lsm from "./lsm.js" import * as lsm from "./lsm.js"
import {resolveMxc} from "./functions.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 let sentIndex = 0

View file

@ -5,7 +5,7 @@ import {Anchor} from "./Anchor.js"
import * as lsm from "./lsm.js" import * as lsm from "./lsm.js"
import {resolveMxc} from "./functions.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 let sentIndex = 0