mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
small change to time axis formats, more graphite like now
This commit is contained in:
parent
e0a35a3958
commit
ed76335c96
@ -262,8 +262,11 @@ function (angular, $, kbn, moment, _) {
|
||||
if(_int >= 10000) {
|
||||
return "%Y-%m-%d";
|
||||
}
|
||||
if(_int >= 3600) {
|
||||
return "%m/%d %H:%M" //"%H:%M<br>%m-%d";
|
||||
}
|
||||
if(_int >= 700) {
|
||||
return "%H:%M<br>%m-%d";
|
||||
return "%a %H:%M" //"%H:%M<br>%m-%d";
|
||||
}
|
||||
|
||||
return "%H:%M";
|
||||
|
Loading…
Reference in New Issue
Block a user