Remove pytz.

Review Request #14831 — Created Feb. 19, 2026 and updated

Information

Review Board
master

Reviewers

This change updates the Review Board codebase to use standard-library
timezone APIs instead of pytz.

While in here, I've also updated the timezone names in some tests to use
the modern "America/Los_Angeles" instead of the outdated "US/Pacific".
A number of new linux distros are no longer shipping the legacy US/*
tzinfo files by default, which causes this to break.

Ran unit tests.

Summary ID
Remove pytz.
This change updates the Review Board codebase to use standard-library timezone APIs instead of pytz. While in here, I've also updated the timezone names in some tests to use the modern "America/Los_Angeles" instead of the outdated "US/Pacific". A number of new linux distros are no longer shipping the legacy US/* tzinfo files by default, which causes this to break. Testing Done: Ran unit tests.
qsxyuvurpqkxzrznkmpwpqysvkovtplm
Checks run (2 succeeded)
flake8 passed.
JSHint passed.