You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use getSubscriptionsFeed for get info.
However, I cannot receive any Premiere & Schedule time, I just got N/A from published field.
Please add this feature for us.
Below this example data which got from getSubscriptionsFeed
RikiNozomu
changed the title
Cannot get Premiere & Schedule time from subscription feed
Cannot get Premiere & Schedule time from getSubscriptionsFeed
Apr 11, 2023
For other Video objects you can use video.is_upcoming to check if it's upcoming and then get the scheduled start date from video.upcoming (contains a standard javascript Date object when is_upcoming is true, otherwise it's undefined).
However it looks like it hasn't been implemented for GridVideo's yet. The reason I mentioned how you can do it with other video objects, is so that you know that it will be implemented similarly to the way it is in other video objects, not through the published field. If you want to format the Date object to a relative date string, you can use the Intl.RelativeTimeFormat.
Describe your suggestion
I use
getSubscriptionsFeed
for get info.However, I cannot receive any Premiere & Schedule time, I just got
N/A
frompublished
field.Please add this feature for us.
Below this example data which got from
getSubscriptionsFeed
Other details
No response
Checklist
The text was updated successfully, but these errors were encountered: