mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Removed unused function from kbn.js
This commit is contained in:
parent
15c8a5e351
commit
dfac87db05
@ -158,11 +158,6 @@ function($, _, moment) {
|
||||
return info.sec * info.count;
|
||||
};
|
||||
|
||||
// This should go away, moment.js can do this
|
||||
kbn.time_ago = function(string) {
|
||||
return new Date(new Date().getTime() - (kbn.interval_to_ms(string)));
|
||||
};
|
||||
|
||||
/* This is a simplified version of elasticsearch's date parser */
|
||||
kbn.parseDate = function(text) {
|
||||
if(_.isDate(text)) {
|
||||
|
Loading…
Reference in New Issue
Block a user