users
users

Update User Timezone

Set the account's timezone. Every account type, one column.

Two things were wrong here until 2026-09-05, and together they are why 85% of accounts have no timezone at all:

  • the parameter was a bare timezone_str: str, which FastAPI reads as a QUERY parameter. Both callers (DashboardNew, BookingsPage) send a JSON body, so every request 422'd before reaching the handler.
  • for a student it wrote nothing and answered "Stored locally in browser". users.timezone is what quiet hours, the Word-of-the-Day send hour and every per-recipient time format read, so a student's choice reached none of them.

Tutors keep their tutor_profiles.timezone in step, because the booking surfaces read that one.

put/users/timezone

Headers

authorizationstring nullable

Request body

object required

Response

Successful Response

{"stackTrail":"paths:/users/timezone:put:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 1 of the 25 revisions of this API.11

    • ▲

      added required request body

      request-body-added-required

    • ●

      deleted the query request parameter timezone_str

      request-parameter-removed

Of the 25 revisions, 1 has no diff computed.