influxdata / ui

UI for InfluxDB
92 stars 42 forks source link

Customize time format for graphs #5253

Open Anaisdg opened 2 years ago

Anaisdg commented 2 years ago

Proposal: Ability to customize the timestamp format beyond what's available in the dropdown currently.

Current behavior: You must select from a variety of options, but they all include either: a) the Y M D and time b) just the time

Desired behavior: The ability to just include variations of the Y, M, D combinations.

Use case: Users who have daily data might not want to include hour minute second timestamps.

https://community.influxdata.com/t/custom-time-format-for-graphs-date-only/25937

kpelckmans commented 1 year ago

Can you also add the combination DDD MMM D, HH:mm Tue Nov 1, 21:14

DaSpawn commented 1 year ago

wanted to suggest just allowing manual entry like the dashboard refresh dropdown, that way user can put whatever ISO format they prefer. (I would like to use E HH:MM for some graphs)

Also wanted to suggest adding the ability of having multiple formats based on the time range selection. If less than a day only show "time format", if longer than day show alternate "date/time" format

caco3 commented 1 year ago

Related: https://github.com/influxdata/influxdb/issues/20655