Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
9622536a
Unverified
Commit
9622536a
authored
May 18, 2020
by
Ryan McKinley
Committed by
GitHub
May 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dashboard: Remove isTimezoneUtc (#24754)
parent
2b23f819
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
6 deletions
+1
-6
public/app/plugins/panel/graph/specs/time_region_manager.test.ts
+1
-3
public/test/specs/helpers.ts
+0
-3
No files found.
public/app/plugins/panel/graph/specs/time_region_manager.test.ts
View file @
9622536a
...
...
@@ -13,9 +13,7 @@ describe('TimeRegionManager', () => {
},
panelCtrl
:
{
range
:
{},
dashboard
:
{
isTimezoneUtc
:
()
=>
false
,
},
dashboard
:
{},
},
};
...
...
public/test/specs/helpers.ts
View file @
9622536a
...
...
@@ -57,9 +57,6 @@ export function ControllerTestContext(this: any) {
self
.
dashboard
.
getTimezone
=
()
=>
{
return
self
.
isUtc
?
'utc'
:
'browser'
;
};
self
.
dashboard
.
isTimezoneUtc
=
()
=>
{
return
self
.
isUtc
;
};
$rootScope
.
appEvent
=
sinon
.
spy
();
$rootScope
.
onAppEvent
=
sinon
.
spy
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment