Merge pull request #39 from jeviolle/master

fixed missing module for 'moment' and jslint missing semi colon
This commit is contained in:
Torkel Ödegaard 2014-01-28 03:37:35 -08:00
commit 4ed65891c2

View File

@ -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');