• 
      

    Remove pytz.

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

    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
    Description From Last Updated

    Do we have to worry about a linux distro potentially not having the modern "America/Los_Angeles" tzinfo?

    maubinmaubin
    maubin
    1. 
        
    2. Show all issues

      Do we have to worry about a linux distro potentially not having the modern "America/Los_Angeles" tzinfo?

      1. It should be present on pretty much every modern system, unless it's an extremely slim image that has no timezone data.

    3. 
        
    maubin
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (c8ec982)