mirror of
https://github.com/gotson/komga.git
synced 2025-12-18 22:43:42 +01:00
fix(webui): display release date without timezone adjustment (#875)
this is the same fix as d343740f30, but applied to the series view
instead of an individual book.
if the first issue of a series was released on January 1 applying a negative timezone offset will
display the previous year.
This commit is contained in:
parent
7c049adf8b
commit
d0da11f23b
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@
|
|||
<v-tooltip right>
|
||||
<template v-slot:activator="{ on }">
|
||||
<span v-on="on">{{
|
||||
new Intl.DateTimeFormat($i18n.locale, {year: 'numeric'}).format(new Date(series.booksMetadata.releaseDate))
|
||||
new Intl.DateTimeFormat($i18n.locale, {year: 'numeric', timeZone: 'UTC'}).format(new Date(series.booksMetadata.releaseDate))
|
||||
}}</span>
|
||||
</template>
|
||||
{{ $t('browse_series.earliest_year_from_release_dates') }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue