Page MenuHomePhabricator

[web] Remove timeZone from Redux state
ClosedPublic

Authored by ashoat on Dec 21 2022, 8:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 8:10 AM
Unknown Object (File)
Thu, Apr 25, 8:10 AM
Unknown Object (File)
Thu, Apr 25, 8:10 AM
Unknown Object (File)
Thu, Apr 25, 8:10 AM
Unknown Object (File)
Apr 8 2024, 5:12 AM
Unknown Object (File)
Mar 5 2024, 4:23 PM
Unknown Object (File)
Mar 5 2024, 6:34 AM
Unknown Object (File)
Mar 5 2024, 6:34 AM
Subscribers
None

Details

Summary

We probably should've never had this in Redux state... would've been more appropriate in React context.

Basically we need to render timestamps in client time instead of server time during SSR, we needed some context to tell components if they needed to shift timestamps to accomodate a timezone.

Following the parent diff, we no longer need to render client timestamps on the server, so we can remove this code.

Test Plan

Flow

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Dec 22 2022, 8:28 AM
This revision was automatically updated to reflect the committed changes.