mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
mini improvement to xasis format (now shows just hours for larger time spans)
This commit is contained in:
@@ -269,11 +269,11 @@ function (angular, $, kbn, moment, _) {
|
||||
if(_int >= 10000) {
|
||||
return "%Y-%m-%d";
|
||||
}
|
||||
if(_int >= 60) {
|
||||
if(_int >= 700) {
|
||||
return "%H:%M<br>%m-%d";
|
||||
}
|
||||
|
||||
return "%H:%M:%S";
|
||||
return "%H:%M";
|
||||
}
|
||||
|
||||
var $tooltip = $('<div>');
|
||||
|
||||
Reference in New Issue
Block a user