You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by do...@apache.org on 2020/02/13 13:06:53 UTC

[empire-db] branch master updated: EMPIREDB-326 24h fix for ObjectUtils.getDate() and formatDate()

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

doebele pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git


The following commit(s) were added to refs/heads/master by this push:
     new b8af903  EMPIREDB-326 24h fix for ObjectUtils.getDate() and formatDate()
b8af903 is described below

commit b8af903e685a171ec6dc1a5747c39fab83573d90
Author: Rainer Döbele <do...@apache.org>
AuthorDate: Thu Feb 13 14:06:48 2020 +0100

    EMPIREDB-326
    24h fix for ObjectUtils.getDate() and formatDate()
---
 empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java b/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java
index 9376f37..ff2f882 100644
--- a/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java
+++ b/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java
@@ -73,7 +73,7 @@ public final class ObjectUtils
     private static final Logger log = LoggerFactory.getLogger(ObjectUtils.class);
 
     private static final String DATE_FORMAT = "yyyy-MM-dd";
-	private static final String DATETIME_FORMAT = "yyyy-MM-dd hh:mm:ss";
+	private static final String DATETIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
 
     private ObjectUtils()
     {