mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(timepickerv2): more work on new timepicker, now absolute time mixed with relative time works, yesterday, this day last week, etc now work
This commit is contained in:
@@ -145,7 +145,7 @@ function (angular, _, $, config, dateMath, moment) {
|
||||
};
|
||||
|
||||
GraphiteDatasource.prototype.translateTime = function(date, roundUp) {
|
||||
if (_.isString(date)) {
|
||||
if (_.isString(date) && date.indexOf('/') === 0) {
|
||||
if (date === 'now') {
|
||||
return 'now';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user