Skip to content

Commit

Permalink
Remove debug, fix instance where custom date formats may cause errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashid Khan committed Apr 1, 2014
1 parent f5a3f9a commit 2581d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/filterSrv.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ define([
case 'time':
var _f = ejs.RangeFilter(filter.field).from(kbn.parseDate(filter.from).valueOf());
if(!_.isUndefined(filter.to)) {
_f = _f.to(filter.to.valueOf());
_f = _f.to(kbn.parseDate(filter.to).valueOf());
}
return _f;
case 'range':
Expand Down

0 comments on commit 2581d31

Please sign in to comment.