mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-03 11:21:44 +02:00
This was failing locally because my dev box is set to local time rather than UTC and so the Date class's special date parsing was interpreting some of the dates as a different day. Use Date's methods to build the actual date we want so we're not reliant on the date objet's parsing - that's not what we're trying to test.