github
Fix SSR mismatch/rerender if 90-days-ago crosses a DST boundary Question: It is May 14, 16:50, Pacific time. What time was it 90 days ago? Answer: It depends what timezone you do the computation in! If it crosses a DST boundary, this will be 90*24+1 hours ago instead of 90*24 hours ago. This causes the `after` filter in `LWHomePosts` to be different when the client computes it (in the client timezone) than when the server computes it (in the server timezone), which causes the post list to display, then turn blank and refresh. This is closely related to the bug that f549fdd77 tried to fix. Co-Authored-By: Robert M <bobert.mushky@gmail.com>
4782 of 39046 branches covered (12.25%)
Branch coverage included in aggregate %.
2 of 13 new or added lines in 9 files covered. (15.38%)
6 existing lines in 3 files now uncovered.27820 of 63049 relevant lines covered (44.12%)
179.95 hits per line