Hello everyone,
I have JSON data and one of the fields contains date in this format (17/Oct/2024:15:48:00 +0200). As datasource I’m using JSON API.
Now I’m trying to convert the string into datetime and it seems that everything parses correctly except the shorten name of the month. For the conversion I’m using “Convert field type” transformation (screenshot below)
I figured out, the issue is with my browser, because the locale is set to my native language (Czech) so it probably cannot parse the month name correctly. When I tried that in Edge (with English locale) it worked without any issues.
Is there a way how could I set the date format locale specifically for dashboard? Or the only way is to set it globally for the whole Grafana? And I guess I need to set it under date_formats right? If the only option is to set it globally.
date_formats | |
---|---|
default_timezone | browser |
default_week_start | browser |
full_date | YYYY-MM-DD HH:mm:ss |
interval_day | MM/DD |
interval_hour | MM/DD HH:mm |
interval_millisecond | HH:mm:ss.SSS |
interval_minute | HH:mm |
interval_month | YYYY-MM |
interval_second | HH:mm:ss |
interval_year | YYYY |
use_browser_locale | false |
Thank you!