mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
commit
81e9a483bc
@ -42,7 +42,7 @@ function (angular, _, $, config, kbn) {
|
|||||||
if (date === 'now') {
|
if (date === 'now') {
|
||||||
return 'now';
|
return 'now';
|
||||||
}
|
}
|
||||||
else if (date.indexOf('now') > 0) {
|
else if (date.indexOf('now') >= 0) {
|
||||||
date = date.substring(3);
|
date = date.substring(3);
|
||||||
date = date.replace('m', 'min');
|
date = date.replace('m', 'min');
|
||||||
date = date.replace('M', 'mon');
|
date = date.replace('M', 'mon');
|
||||||
@ -143,4 +143,4 @@ function (angular, _, $, config, kbn) {
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user