Merge pull request #533 from blakesu/master

最慢查询发生时间不能区分上午下午
This commit is contained in:
Yako
2014-04-25 14:57:46 +08:00
@@ -321,7 +321,7 @@ public final class DruidStatService implements DruidStatServiceMBean {
map.put("parsedOrderbycolumns", visitor.getOrderByColumns().toString());
}
DateFormat format = new SimpleDateFormat("yyyy/MM/dd hh:mm:ss:SSS");
DateFormat format = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss:SSS");
Date maxTimespanOccurTime = (Date) map.get("MaxTimespanOccurTime");
if (maxTimespanOccurTime != null) {
map.put("MaxTimespanOccurTime", format.format(maxTimespanOccurTime));