You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/10/18 23:20:57 UTC

[sling-org-apache-sling-hc-webconsole] 43/44: SLING-6944 fixed date format pattern

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-hc-webconsole.git

commit 7a75f9d39935f1b0d4543118efd496977dc9bf24
Author: Georg Henzler <gh...@apache.org>
AuthorDate: Fri Jun 9 09:54:04 2017 +0000

    SLING-6944 fixed date format pattern
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1798181 13f79535-47bb-0310-9956-ffa450edef68
---
 .../apache/sling/hc/webconsole/impl/HealthCheckWebconsolePlugin.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/hc/webconsole/impl/HealthCheckWebconsolePlugin.java b/src/main/java/org/apache/sling/hc/webconsole/impl/HealthCheckWebconsolePlugin.java
index 98f9231..59d43f1 100644
--- a/src/main/java/org/apache/sling/hc/webconsole/impl/HealthCheckWebconsolePlugin.java
+++ b/src/main/java/org/apache/sling/hc/webconsole/impl/HealthCheckWebconsolePlugin.java
@@ -164,7 +164,7 @@ public class HealthCheckWebconsolePlugin extends HttpServlet {
         final StringBuilder status = new StringBuilder();
 
         status.append("Tags: ").append(exResult.getHealthCheckMetadata().getTags());
-        status.append(" Finished: ").append(new SimpleDateFormat("yyyy-MM-dd mm:ss").format(exResult.getFinishedAt()) + " after "
+        status.append(" Finished: ").append(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(exResult.getFinishedAt()) + " after "
                 + msHumanReadable(exResult.getElapsedTimeInMs()));
 
         c.titleHtml(exResult.getHealthCheckMetadata().getTitle(), null);

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.