תמיכת The Movie Database

I am trying to access specific locations (time-zone) tv series, i have done something like this on the url but however even I change the time zone string to different place

I get te same response for Airing Today and On Air(TV) Api calls

interface FetchParams {
  pageParam: number;
  // NEW: Optional timezone parameter
  timezone?: "Europe/Istanbul"; // e.g., "Europe/London", "America/New_York"
}
const fetchTVSeries = async (
  endpoint: string,
  { pageParam, timezone }: FetchParams // Destructure timezone here
): Promise<TVShow[]> => {
  // Construct the base URL with language and page
  let url = `https://api.themoviedb.org/3/tv/${endpoint}?language=en-US&page=${pageParam}`;

  // NEW: Conditionally add timezone if provided
  if (timezone) {
    url += `&timezone=${encodeURIComponent(timezone)}`;
  }



export const fetchOnTheAirTVSeries = (params: FetchParams) =>
  fetchTVSeries("on_the_air", params);

export const fetchAiringTodayTVSeries = (params: FetchParams) =>
  fetchTVSeries("airing_today", params);

How can I find solution to this ?

.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם

עולמי

s התמקד בשורת החיפוש
p פתח תפריט פרופיל
esc סגור חלון פתוח
? פתח חלון קיצורי דרך של מקלדת

בדפי מדיה

b לך חזרה (או אל הורה אם ישים)
e לך אל דף עריכה

בדפי עונות

(חץ ימני) לך אל העונה הבאה
(חץ שמאלי) לך אל העונה הקודמת

בדפי סדרות

(חץ ימני) לך אל הפרק הבא
(חץ שמאלי) לך אל הפרק הקודם

בכל דפי תמונה

a פתח חלון הוספת תמונה

בכל דפי עריכה

t פתח בוחר תרגום
ctrl+ s הגש טופס

בדפי דיון

n צור דיון חדש
w עורר מעמד צפייה
p עורר ציבורי/פרטי
c עורר סגירה/פתיחה
a פתח פעילות
r השב אל דיון
l לך אל תשובה אחרונה
ctrl+ enter הגש את הודעתך
(חץ ימני) הדף הבא
(חץ שמאלי) הדף הקודם

הגדרות

?רוצה לדרג או להוסיף פריט אל רשימה

היכנס