Merge pull request #90 from soulcramer/Reduce_Calendar_Noise
🐛 Reduce the noise in the calendar
This commit is contained in:
commit
30f782419a
@ -50,6 +50,10 @@ func Get(ctx *aero.Context) string {
|
|||||||
|
|
||||||
// Add anime episodes to the days
|
// Add anime episodes to the days
|
||||||
for animeEpisodes := range arn.StreamAnimeEpisodes() {
|
for animeEpisodes := range arn.StreamAnimeEpisodes() {
|
||||||
|
if animeEpisodes.Anime().Status == "finished" {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
for _, episode := range animeEpisodes.Items {
|
for _, episode := range animeEpisodes.Items {
|
||||||
if !validator.IsValidDate(episode.AiringDate.Start) {
|
if !validator.IsValidDate(episode.AiringDate.Start) {
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user