]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-6890 Wrong link while drilling down from quality gate widget to new issues
authorStas Vilchik <vilchiks@gmail.com>
Wed, 2 Dec 2015 11:08:44 +0000 (12:08 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 2 Dec 2015 11:08:44 +0000 (12:08 +0100)
server/sonar-web/src/main/webapp/WEB-INF/app/helpers/application_helper.rb

index da06341aa5afcba532daf7d872951f47bb5f52ad..c19dd8e990f5a8298480c19b1950ec9c51f37495 100644 (file)
@@ -208,7 +208,7 @@ module ApplicationHelper
       if options[:period] && @snapshot
         snapshot_datetime = @snapshot.period_datetime(options[:period])
         if snapshot_datetime
-          date = snapshot_datetime.to_date
+          date = snapshot_datetime.strftime('%FT%T%z')
           url += "createdAfter=#{date}|"
         end
       end