Commit c925014b by Torkel Ödegaard

Use unix epoch for Graphite from/to for absolute time ranges, #536

parent 32b11b10
vNext
**Changes**
- Use unix epoch for Graphite from/to for absolute time ranges (Closes #536)
# 1.6.1 (2014-06-24)
**New features or improvements**
......
......@@ -104,15 +104,7 @@ function (angular, _, $, config, kbn, moment) {
}
}
if (dashboard.current.timezone === 'browser') {
date = date.local();
}
if (config.timezoneOffset) {
date = date.zone(config.timezoneOffset);
}
return date.format('HH:mm_YYYYMMDD');
return date.unix();
};
GraphiteDatasource.prototype.metricFindQuery = function(filterSrv, query) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment