forked from cadence/Carbon
Drop seconds from message dates
This commit is contained in:
parent
bdde6a5413
commit
da6f08c9d0
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue