]> source.dussan.org Git - sonarqube.git/commitdiff
Fix issue when displaying issue query dates
authorJulien Lancelot <julien.lancelot@gmail.com>
Wed, 19 Jun 2013 09:41:04 +0000 (11:41 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Wed, 19 Jun 2013 09:41:04 +0000 (11:41 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/issues/_sidebar.html.erb

index 48126ba5df46bd7c2535abf45b4b3a7e80c31913..e9d26e47c1450ab27c057fa6da8bcc423f306d49 100644 (file)
     </li>
     <li id="criteria-created" class="marginbottom5">
       <%= message('issue_filter.criteria.created_after') -%>:<br>
-      <input type="text" id="select-created-after" name="createdAfter" value="<%= @issue_query.createdAfter -%>" size="10" maxlength="10" class="marginbottom5">
+      <input type="text" id="select-created-after" name="createdAfter" value="<%= Api::Utils.format_date(@issue_query.createdAfter) -%>" size="10" maxlength="10" class="marginbottom5">
       <br>
       <%= message 'issue_filter.criteria.created_before' -%>:<br>
-      <input type="text" id="select-created-before" name="createdBefore" value="<%= @issue_query.createdBefore -%>" size="10" maxlength="10"><br>
+      <input type="text" id="select-created-before" name="createdBefore" value="<%= Api::Utils.format_date(@issue_query.createdBefore) -%>" size="10" maxlength="10"><br>
       <span class="small gray"><%= message 'issue_filter.criteria.date_format' -%></span>
     </li>
     <li>