Question · Vibe coding with Claude Code course · Module 11: Spotify clone

Time zone of the added date

Why does formatAddedAt set timeZone: "Europe/Warsaw"?

Answer options

  • So the server and the browser show the same day, regardless of their time zones
  • So the date is stored in the data in Warsaw time
  • So Intl.DateTimeFormat works in browsers without the Polish language
  • So the added date is always today's

You can check the correct answer by solving this task in the CodeWorlds game.