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:
parent
1ca4281fe2
commit
37fd4feb55
1 changed files with 0 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue