diff --git a/komga-webui/src/locales/en.json b/komga-webui/src/locales/en.json index b427e82ec..c4687d298 100644 --- a/komga-webui/src/locales/en.json +++ b/komga-webui/src/locales/en.json @@ -168,6 +168,8 @@ }, "browse_book": { "comment": "COMMENT", + "date_created": "CREATED", + "date_modified": "LAST MODIFIED", "download_file": "Download file", "file": "FILE", "format": "FORMAT", diff --git a/komga-webui/src/views/BrowseBook.vue b/komga-webui/src/views/BrowseBook.vue index df35f7e17..89f3a4e22 100644 --- a/komga-webui/src/views/BrowseBook.vue +++ b/komga-webui/src/views/BrowseBook.vue @@ -410,6 +410,28 @@ {{ book.url }} + + {{ $t('browse_book.date_created') }} + {{ + new Intl.DateTimeFormat($i18n.locale, { + dateStyle: 'long', + timeStyle: 'short' + }).format(new Date(book.created)) + }} + + + + + {{ $t('browse_book.date_modified') }} + {{ + new Intl.DateTimeFormat($i18n.locale, { + dateStyle: 'long', + timeStyle: 'short' + }).format(new Date(book.lastModified)) + }} + + + diff --git a/komga-webui/src/views/BrowseOneshot.vue b/komga-webui/src/views/BrowseOneshot.vue index 00a7ba2f2..4cd542eb0 100644 --- a/komga-webui/src/views/BrowseOneshot.vue +++ b/komga-webui/src/views/BrowseOneshot.vue @@ -496,6 +496,28 @@ {{ book.url }} + + {{ $t('browse_book.date_created') }} + {{ + new Intl.DateTimeFormat($i18n.locale, { + dateStyle: 'long', + timeStyle: 'short' + }).format(new Date(book.created)) + }} + + + + + {{ $t('browse_book.date_modified') }} + {{ + new Intl.DateTimeFormat($i18n.locale, { + dateStyle: 'long', + timeStyle: 'short' + }).format(new Date(book.lastModified)) + }} + + + @@ -552,7 +574,8 @@ import { SearchConditionAgeRating, SearchConditionGenre, SearchConditionLanguage, - SearchConditionPublisher, SearchConditionSeriesId, + SearchConditionPublisher, + SearchConditionSeriesId, SearchConditionTag, SearchOperatorIs, } from '@/types/komga-search'