Expected result:
should work properly if default browser language is other than english.
The backend responds with an object where one of the keys is “July 2024” that gets parsed by new Date() in the client code-
{
"total": 32,
...
"month": "July 2024",
...
"__typename": "EventMetricsByTime"
}
Bug description: System crash occurs while running the application when their browser’s default language as anything other than English
Steps to reproduce:
Actual result: System crash occurs
Expected result: should work properly if default browser language is other than english. The backend responds with an object where one of the keys is “July 2024” that gets parsed by new Date() in the client code- { "total": 32, ... "month": "July 2024", ... "__typename": "EventMetricsByTime" }
Screenshot/ Recording:
Tested on: https://login.farajaland-qa.opencrvs.org/?lang=en
Version: V1.6.0