teslamate icon indicating copy to clipboard operation
teslamate copied to clipboard

Change to dateTimeAsSystem and enable date formats

Open rikardronnkvist opened this issue 1 year ago • 5 comments

Gives the ability to have custom date formats on dashboards.

rikardronnkvist avatar Jan 10 '23 09:01 rikardronnkvist

https://github.com/adriankumpf/teslamate/discussions/3052

rikardronnkvist avatar Jan 10 '23 09:01 rikardronnkvist

Happy to test that. @jlestel do we have a Grafana image for this PR?

DrMichael avatar Nov 17 '23 08:11 DrMichael

Happy to test that. @jlestel do we have a Grafana image for this PR?

Not yet! CI fusion failed last night, we still need to take some time to test it.

I hope it will be possible soon!

jlestel avatar Nov 17 '23 08:11 jlestel

Does it mean, you can set the date format with GF_DATE_FORMATS_FULL_DATE in your docker-compose.yaml?

Hmmm, DateTimeSystem gives me 2023-11-12 21:57:52. Whereas DateTimeLocal gives me 12.11.2023 21:57:42. I think, I'd prefer the latter...

DrMichael avatar Nov 17 '23 12:11 DrMichael

Please update your branch

JakobLichterfeld avatar Jun 09 '24 07:06 JakobLichterfeld

@swiffer is this still needed with our migration to latest grafana?

JakobLichterfeld avatar Jul 05 '24 14:07 JakobLichterfeld

there is an experimental browser locale based setting now

https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#use_browser_locale

before: grafik

after: grafik

grafik

i think we should make use of this instead. @jheredianet you have changed it already in your dashboards, right? could you consider changing it back if we go with an ENV setting instead in the grafana image?

https://github.com/jheredianet/Teslamate-CustomGrafanaDashboards/issues/16

swiffer avatar Jul 07 '24 06:07 swiffer

there is an experimental browser locale based setting now

https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#use_browser_locale

before: grafik

after: grafik

grafik

i think we should make use of this instead. @jheredianet you have changed it already in your dashboards, right? could you consider changing it back if we go with an ENV setting instead in the grafana image?

jheredianet/Teslamate-CustomGrafanaDashboards#16

Yes, I have. Sure, no problem. It's a good idea.

jheredianet avatar Jul 07 '24 20:07 jheredianet

Close this, as replaced by #4064

JakobLichterfeld avatar Jul 08 '24 11:07 JakobLichterfeld