isaozler / grafana-shift-selector

The shift selector allows you to adjust the time range of your grafana dashboard to one specific shift or a range of shifts.
Apache License 2.0
8 stars 6 forks source link

Adaptation of the calendar to the user-set start of the week #40

Open muutech opened 2 months ago

muutech commented 2 months ago

The ‘grafana-shift-selector’ plugin is a very useful tool to manage shifts in Grafana. However, the calendar currently always starts on a Sunday, which can be unintuitive for users who have their work week starting on another day, like in Spain.

Proposal:

I propose that the calendar adapts to the start of the week selected in the Grafana user settings. In this way, users will be able to customise the display of the calendar according to their preferences and facilitate the planning of shifts.

Benefits:

Technical details:

Would it be possible to use Grafana's regional settings to determine the first day of the week and adjust the calendar accordingly?

isaozler commented 2 months ago

Thanks @muutech this is very useful indeed.