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') {
|
||||
return 'now';
|
||||
}
|
||||
else if (date.indexOf('now') > 0) {
|
||||
else if (date.indexOf('now') >= 0) {
|
||||
date = date.substring(3);
|
||||
date = date.replace('m', 'min');
|
||||
date = date.replace('M', 'mon');
|
||||
|
Loading…
Reference in New Issue
Block a user