Timezones
All content is stored in our database in the UTC timezone. This is the timezone you should use in your API requests, and is also the one you can expect to see in responses.
When we track a piece of content, we use the following logic to set the published time:
- If the published time is included in the feed and is in the UTC timezone, then we record it directly.
- If the published time is included in the feed, is not in the UTC timezone, and the name of the timezone is included, then we convert it to UTC and store it.
- If the published time is included in the feed and no timezone is included, we infer the timezone based on the location of the publisher. We then convert it to UTC and store it.
- If no published time is included, we infer the published time based on when we picked up the article and record it in UTC.
Updated 9 months ago