Fix news date formatting as UTC. (#49)

This commit is contained in:
Alessandro Jean 2023-09-10 15:30:33 -03:00 committed by GitHub
parent 256690e65b
commit c410fcbffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,10 @@
import { IconChevronRight } from "@iconify-prerendered/vue-mdi"
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>
<template>