openwisp/openwisp-monitoring

[bug] Chart API fails if timezone value is undefined

nemesifier opened this issue · 0 comments

If the timezone value returned by Javascript is undefined for some reason, the charts will not load because the REST API returns an error:

[
    "Unkown Time Zone"
]

I think the failure on the API side is fine, I think on the client side code we should not add the timezone parameter if it's undefined.