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
4ed65891
Commit
4ed65891
authored
Jan 28, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #39 from jeviolle/master
fixed missing module for 'moment' and jslint missing semi colon
parents
f52450ae
49e131ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/app/services/graphite/graphiteSrv.js
+4
-3
No files found.
src/app/services/graphite/graphiteSrv.js
View file @
4ed65891
...
@@ -3,9 +3,10 @@ define([
...
@@ -3,9 +3,10 @@ define([
'underscore'
,
'underscore'
,
'jquery'
,
'jquery'
,
'config'
,
'config'
,
'kbn'
'kbn'
,
'moment'
],
],
function
(
angular
,
_
,
$
,
config
,
kbn
)
{
function
(
angular
,
_
,
$
,
config
,
kbn
,
moment
)
{
'use strict'
;
'use strict'
;
var
module
=
angular
.
module
(
'kibana.services'
);
var
module
=
angular
.
module
(
'kibana.services'
);
...
@@ -55,7 +56,7 @@ function (angular, _, $, config, kbn) {
...
@@ -55,7 +56,7 @@ function (angular, _, $, config, kbn) {
date
=
moment
.
utc
(
date
).
local
();
date
=
moment
.
utc
(
date
).
local
();
if
(
config
.
timezoneOffset
)
{
if
(
config
.
timezoneOffset
)
{
date
=
date
.
zone
(
config
.
timezoneOffset
)
date
=
date
.
zone
(
config
.
timezoneOffset
)
;
}
}
return
date
.
format
(
'HH:mm_YYYYMMDD'
);
return
date
.
format
(
'HH:mm_YYYYMMDD'
);
...
...
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