mirror of
https://github.com/sbondCo/Watcharr.git
synced 2026-08-07 07:14:44 +00:00
Show Aired Date for episodes.
This commit is contained in:
@@ -6,6 +6,7 @@ These changes are awaiting release:
|
||||
|
||||
- HTTP Requests: Replace `axios` with `Fetch`.
|
||||
- Show `Airs On` date for episodes that have yet to air (thanks [@KarpachMarko]!).
|
||||
- Show `Aired Date` for episodes.
|
||||
|
||||
## Fixed
|
||||
|
||||
|
||||
@@ -130,6 +130,12 @@
|
||||
>{ep.runtime} min</span
|
||||
>
|
||||
{/if}
|
||||
{#if !isUnaired && airDate}
|
||||
<!-- Air date for aired episodes. -->
|
||||
<span class="episode-air-date">
|
||||
{toRelativeDate(airDate)}
|
||||
</span>
|
||||
{/if}
|
||||
</span>
|
||||
{#if ep.vote_count <= 0 && isUnaired}
|
||||
<!-- If no votes (and subsequently no rating) AND episode is
|
||||
@@ -145,6 +151,7 @@
|
||||
{/if}
|
||||
</div>
|
||||
{#if isUnaired && airDate}
|
||||
<!-- Air date for unaired episodes. -->
|
||||
<span class="episode-air-date">
|
||||
Airs on {toRelativeDate(airDate)}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user