API Testing · Middle · Question 38 of 75

What should a test check about time zones in an API?

Show the answer

Correct answer: Timestamps include an offset or use UTC consistently

Explanation

A date shown a day off for some users is a classic bug. ISO 8601 with Z or an offset removes ambiguity.

Further reading

Problem with a question

API Testing · Middle · question 38

Test yourself

Take the API Testing · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz