mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-12-21 07:31:58 +01:00
Fix news date formatting as UTC. (#49)
This commit is contained in:
parent
256690e65b
commit
c410fcbffe
@ -2,7 +2,10 @@
|
|||||||
import { IconChevronRight } from "@iconify-prerendered/vue-mdi"
|
import { IconChevronRight } from "@iconify-prerendered/vue-mdi"
|
||||||
import { data as newsList } from "../data/news.data"
|
import { data as newsList } from "../data/news.data"
|
||||||
|
|
||||||
const dateFormatter = new Intl.DateTimeFormat("en", { dateStyle: "medium" })
|
const dateFormatter = new Intl.DateTimeFormat("en", {
|
||||||
|
dateStyle: "medium",
|
||||||
|
timeZone: "UTC",
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
Loading…
Reference in New Issue
Block a user