-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding timeshift units #62
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to make the variable changes across different files
dist/datasource.js
Outdated
@@ -221,9 +221,10 @@ function (angular, _, dateMath, moment) { | |||
var periodsToShift = target.periods; | |||
var query = target.query; | |||
var metric = target.metric; | |||
var unit = target.unit; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to change to timeshiftUnit
in other places as well
dist/query_ctrl.ts
Outdated
@@ -38,6 +38,8 @@ export class MetaQueriesQueryCtrl extends QueryCtrl { | |||
|
|||
defaultPeriods = 7; | |||
|
|||
defaultUnit = "days"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
defaultTimeshiftUnit
continuation of #61