1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-11-22 16:17:29 +00:00

Fix post date display

This commit is contained in:
Cadence Ember 2020-05-31 18:06:08 +12:00
parent f37d5bade3
commit eeba2367af
No known key found for this signature in database
GPG Key ID: 128B99B1B74A6412

View File

@ -91,7 +91,7 @@ class TimelineEntry extends TimelineBaseMethods {
return ( return (
`${this.date.getUTCFullYear()}` `${this.date.getUTCFullYear()}`
+ `-${pad(this.date.getUTCMonth()+1)}` + `-${pad(this.date.getUTCMonth()+1)}`
+ `-${pad(this.date.getUTCDay()+1)}` + `-${pad(this.date.getUTCDate())}`
+ ` ${pad(this.date.getUTCHours())}` + ` ${pad(this.date.getUTCHours())}`
+ `:${pad(this.date.getUTCMinutes())}` + `:${pad(this.date.getUTCMinutes())}`
+ ` UTC` + ` UTC`