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`.
|
- HTTP Requests: Replace `axios` with `Fetch`.
|
||||||
- Show `Airs On` date for episodes that have yet to air (thanks [@KarpachMarko]!).
|
- Show `Airs On` date for episodes that have yet to air (thanks [@KarpachMarko]!).
|
||||||
|
- Show `Aired Date` for episodes.
|
||||||
|
|
||||||
## Fixed
|
## Fixed
|
||||||
|
|
||||||
|
|||||||
@@ -130,6 +130,12 @@
|
|||||||
>{ep.runtime} min</span
|
>{ep.runtime} min</span
|
||||||
>
|
>
|
||||||
{/if}
|
{/if}
|
||||||
|
{#if !isUnaired && airDate}
|
||||||
|
<!-- Air date for aired episodes. -->
|
||||||
|
<span class="episode-air-date">
|
||||||
|
{toRelativeDate(airDate)}
|
||||||
|
</span>
|
||||||
|
{/if}
|
||||||
</span>
|
</span>
|
||||||
{#if ep.vote_count <= 0 && isUnaired}
|
{#if ep.vote_count <= 0 && isUnaired}
|
||||||
<!-- If no votes (and subsequently no rating) AND episode is
|
<!-- If no votes (and subsequently no rating) AND episode is
|
||||||
@@ -145,6 +151,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{#if isUnaired && airDate}
|
{#if isUnaired && airDate}
|
||||||
|
<!-- Air date for unaired episodes. -->
|
||||||
<span class="episode-air-date">
|
<span class="episode-air-date">
|
||||||
Airs on {toRelativeDate(airDate)}
|
Airs on {toRelativeDate(airDate)}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user