Regarding the software problem you're seeing, it's quite possibly a result of using a language or API in which dates -- like 2020-01-09 -- are represented as localized datetimes at midnight -- like 2020-01-09 at 00:00 in America/Regina. This is a pervasive class of bugs that affects JavaScript programs for users in Brazil and Chile in particular. JavaScript because the language's builtin Date representation is a datetime (and the ubiquitous moment library isn't so careful with it), and Brazilian and Chilean users because until recently their time zones had midnight spring forwards. Here's a particularly illuminating example of this class of bugs:
https://github.com/airbnb/react-dates/issues/776.
Hope that helps you track down your software issue.