Commit 4ed65891 by Torkel Ödegaard

Merge pull request #39 from jeviolle/master

fixed missing module for 'moment' and jslint missing semi colon
parents f52450ae 49e131ce
......@@ -3,9 +3,10 @@ define([
'underscore',
'jquery',
'config',
'kbn'
'kbn',
'moment'
],
function (angular, _, $, config, kbn) {
function (angular, _, $, config, kbn, moment) {
'use strict';
var module = angular.module('kibana.services');
......@@ -55,7 +56,7 @@ function (angular, _, $, config, kbn) {
date = moment.utc(date).local();
if (config.timezoneOffset) {
date = date.zone(config.timezoneOffset)
date = date.zone(config.timezoneOffset);
}
return date.format('HH:mm_YYYYMMDD');
......
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