Skip to content

Commit

Permalink
Fixed "Request Date" values for the "left-panel-details" div class. P…
Browse files Browse the repository at this point in the history
…reviously when the movie was exclusively 4K (regular request was absent), then "Request Date" equaled DateTime.MinValue (January 1, 0001).
  • Loading branch information
Lucane committed Jul 26, 2022
1 parent d48e848 commit 2c57b30
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@
</div>

<div *ngIf="request">
<span class="label">{{'MediaDetails.RequestDate' | translate }}</span>
{{request.requestedDate | amUserLocale | amDateFormat: 'LL'}}
<span class="label">{{'MediaDetails.RequestDate' | translate }}</span>
<span *ngIf="request.requestedDate < request.requestedDate4k"> {{request.requestedDate4k | amUserLocale | amDateFormat: 'LL'}}</span>
<span *ngIf="request.requestedDate > request.requestedDate4k"> {{request.requestedDate | amUserLocale | amDateFormat: 'LL'}}</span>
</div>

<div *ngIf="request && request.source !== RequestSource.Ombi">
Expand Down

0 comments on commit 2c57b30

Please sign in to comment.