You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to add support to datetime operations?
The result I would like to achieve is to apply a datetime operation to a datetime global variable and then formatting it when building the URL for the API call.
This would be something similar to the following:
${(__to+1d): date:YYYY-MM-DD}:
i.e adding one day to __to and then formatting it.
I opened a discussion in Grafana GitHub too but probably this might be handled directly from the plugin itself as well. grafana/grafana#40929
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Would it be possible to add support to datetime operations?
The result I would like to achieve is to apply a datetime operation to a datetime global variable and then formatting it when building the URL for the API call.
This would be something similar to the following:
${(__to+1d): date:YYYY-MM-DD}:
i.e adding one day to __to and then formatting it.
I opened a discussion in Grafana GitHub too but probably this might be handled directly from the plugin itself as well.
grafana/grafana#40929
Beta Was this translation helpful? Give feedback.
All reactions