]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7503 New Issues facet not working properly for the last period
authorStas Vilchik <vilchiks@gmail.com>
Mon, 18 Apr 2016 11:19:12 +0000 (13:19 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Mon, 18 Apr 2016 11:19:12 +0000 (13:19 +0200)
server/sonar-web/src/main/js/components/widgets/barchart.js

index 3c53eeb04be769f6dbae5af3503da859ef3997c1..18f16dc3f90024cbb14df8ad2485bdcdc9e68305 100644 (file)
@@ -31,7 +31,7 @@ const defaults = function () {
     height: 140,
     color: '#1f77b4',
     interpolate: 'basis',
-    endDate: moment().format('YYYY-MM-DD'),
+    endDate: moment().add(1, 'days').format('YYYY-MM-DD'),
 
     marginLeft: 1,
     marginRight: 1,