Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
This PR was added without the desired comprehensive testing. It would be great if the testing could be added to simulate a number of timezones.
This probably involves a slightly more complex test set up with simulated timezones as there are a number of helper functions which use the cached timezone.
Is your feature request related to a problem? Please describe 👀
Add tests with a variety of hard coded timezones as per this comment: https://github.com/msupply-foundation/open-msupply/pull/2922#discussion_r1488524017
Additional context 💌
This PR was added without the desired comprehensive testing. It would be great if the testing could be added to simulate a number of timezones.
This probably involves a slightly more complex test set up with simulated timezones as there are a number of helper functions which use the cached timezone.