teragrep / ajs_01

User interface for Teragrep
Apache License 2.0
0 stars 0 forks source link

Refactor date formatting in linechart mode #253

Open BVVLD opened 2 months ago

BVVLD commented 2 months ago

"by default graphs show x-axis labels in YYYY-MM-DD HH:mm😕s format but users can change this only in line chart view (I don't know why). when the timestamp is super long and depending on the case I want to present in a graph, sometimes it's enough to emit the time and use only date in the timestamp. then I would write in that date format field YYYY-MM-DD which then shows the x-axis label in YYYY-MM-DD format. or sometimes I want to change the timestamp to match the way Finnish language presents dates (DD.MM.YYYY) since the audience consist of only Finnish speakers."

as a user I would expect that if the timestamp in my dataset contains only a year, the option either: