twitchdev / issues

Issue tracker for third party developers.
Apache License 2.0
72 stars 7 forks source link

Weird ISOString Date in the last_updated field when getting channel custom cheermotes #938

Open PabloRNC opened 2 months ago

PabloRNC commented 2 months ago

Brief Description

Upon examining the cheermotes retrieved via the Get Cheermote endpoint and filtering for channel custom cheermotes, it's noticed that the last_updated field consistently displays 0001-01-01T00:00:00Z. This observation has been confirmed across three different broadcasters, all of whom possess custom cheermotes.

How to Reproduce

  1. Initiate a GET request to the cheeremotes endpoint, including the broadcaster_id query parameter to retrieve broadcaster-specific cheermotes.
  2. Examine the last_updated field in the response.

Expected Behavior

The anticipated behavior is for the endpoint to furnish the most recent update timestamp or creation date for the cheermote. For instance, global cheermotes typically showcase a creation date akin to 2018-05-22T00:06:05Z.

Screenshots

image

Additional Context or Questions

N/A

Emilgardis commented 2 months ago

can replicate this

twitch api get bits/cheermotes -q broadcaster_id=26610234 -u | jq '.data[] | select(.type == "channel_custom") | .last_updated'
"0001-01-01T00:00:00Z"