8000 🐛 getAnimeEpisodes and getAnimeEpisodeById endpoints return different dates in `aired` field · Issue #567 · jikan-me/jikan-rest · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

🐛 getAnimeEpisodes and getAnimeEpisodeById endpoints return different dates in aired field #567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
flaksp opened this issue Apr 26, 2025 · 0 comments
Open
1 task done

Comments

@flaksp
Copy link
flaksp commented Apr 26, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

It seems like getAnimeEpisodes endpoint returns a date in UTC+0 without shifting actual date and time. 2025-04-25T00:00:00+00:00 and 2025-04-25T00:00:00+09:00 are different timestamps.

See for aired field in examples below.

https://api.jikan.moe/v4/anime/59833/episodes?page=1

{
  "pagination": {
    "last_visible_page": 1,
    "has_next_page": false
  },
  "data": [
    {
      "mal_id": 1,
      "url": null,
      "title": "Red Stream Explosion!",
      "title_japanese": "レッドストリーム・エクスプロージョン!",
      "title_romanji": null,
      "aired": "2025-02-25T00:00:00+00:00",
      "score": 4.61,
      "filler": false,
      "recap": false,
      "forum_url": "https://myanimelist.net/forum/?topicid=2211935"
    },
    {
      "mal_id": 2,
      "url": null,
      "title": "Beware of Impostors!",
      "title_japanese": "偽者注意!",
      "title_romanji": "Nisemono chuui! ",
      "aired": "2025-04-25T00:00:00+00:00",
      "score": 4.76,
      "filler": false,
      "recap": false,
      "forum_url": "https://myanimelist.net/forum/?topicid=2211933"
    }
  ]
}

https://api.jikan.moe/v4/anime/59833/episodes/2

{
  "data": {
    "mal_id": 2,
    "url": "https://myanimelist.net/anime/59833/Kono_Subarashii_Sekai_ni_Shukufuku_wo_3__Bonus_Stage/episode/2",
    "title": "Beware of Impostors!",
    "title_japanese": "偽者注意!",
    "title_romanji": "Nisemono chuui!",
    "duration": 0,
    "aired": "2025-04-25T00:00:00+09:00",
    "filler": false,
    "recap": false,
    "synopsis": "One winter day. While Kazuma was stuffing his face with skewers at a food stall in the town of Axel, an adventurer called out to him. The man said he was looking for an adventurer named \"Sato Kazuma.\" On the condition that Kazuma would buy him dinner, Kazuma told him the legend of \"Sato Kazuma,\" and the man and the three female adventurers in his party were so moved that they shed tears...!?"
  }
}

Expected Behavior

Dates should be equal in both endpoints.

Steps To Reproduce

No response

Environment

Used public API.

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0