1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Remove useless assignment

This commit is contained in:
Yasin Silavi 2023-07-26 10:54:23 +03:30 committed by Bill Thornton
parent 1ca4281fe2
commit 37fd4feb55

View file

@ -230,7 +230,6 @@ export function getDisplayTime(date) {
const timeLower = time.toLowerCase();
if (timeLower.indexOf('am') !== -1 || timeLower.indexOf('pm') !== -1) {
time = timeLower;
let hour = date.getHours() % 12;
const suffix = date.getHours() > 11 ? 'pm' : 'am';
if (!hour) {