Mysql marco not correct

grafana 5.3.x
Using mysql marco __timeFilter, __timeFrom,$__timeTo in sql, and it not pase corrct,as the picture below.Is’t a grafana bug?

Try this in the where clause:
Where $__timeFilter(your time field name)
Normally the time field will be synchronized with grafana time filter toolbar.


It’s no use.It’s already that format, not working.In the dashboard some panel work corrcet,some not.So I think it may a grafana bug

I think it’s a “feature”. See.:


It seem’s not the same problem.I used quick ranges last 2 days but in the Query Inspector the time range is only about last few hours.I guess the marco didn’t correctly passed to this panel

Not caused by timezone problem.The time totally wrong