Ran
|
Files
2230
|
Run time
52s
|
Badge
Embed ▾
README BADGES
|
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>
3363 of 39046 branches covered (8.61%)
Branch coverage included in aggregate %.
14861 of 63046 relevant lines covered (23.57%)
166.1 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|