mirror of https://github.com/grafana/grafana
parent
5eefa36111
commit
2a52d9bdf6
@ -0,0 +1,9 @@ |
||||
# Plugin API |
||||
|
||||
## Changelog |
||||
|
||||
2.5 changed the `range` parameter in the `datasource.query` function's options parameter. This |
||||
parameter now holds a parsed range with `moment` dates `form` and `to`. To get |
||||
millisecond epoc from a `moment` you the function `valueOf`. The raw date range as represented |
||||
internally in grafana (which may be relative expressions like `now-5h`) is included in the |
||||
new property `rangeRaw` (on the options object). |
Loading…
Reference in new issue