You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by of...@apache.org on 2020/08/26 13:00:15 UTC

[incubator-dlab] branch develop updated: Fixed issue with date filter on Audit page (refactoring)

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

ofuks pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/develop by this push:
     new 874619f  Fixed issue with date filter on Audit page (refactoring)
874619f is described below

commit 874619fdbb5bb497e7d98d2c9b80b430d74e5497
Author: Oleh Fuks <ol...@gmail.com>
AuthorDate: Wed Aug 26 15:59:57 2020 +0300

    Fixed issue with date filter on Audit page (refactoring)
---
 .../src/main/java/com/epam/dlab/backendapi/dao/AuditDAOImpl.java | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/AuditDAOImpl.java b/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/AuditDAOImpl.java
index 38dca13..a1db015 100644
--- a/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/AuditDAOImpl.java
+++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/AuditDAOImpl.java
@@ -169,13 +169,4 @@ public class AuditDAOImpl extends BaseDAO implements AuditDAO {
             searchCriteria.add(in(user, users));
         }
     }
-
-    public static void main(String[] args) throws ParseException {
-        Instant from;
-        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
-        simpleDateFormat.setTimeZone(TimeZone.getTimeZone(ZoneOffset.UTC));
-        from = simpleDateFormat.parse("2020-01-01").toInstant();
-
-        System.out.println(from.toString().replace("T", " "));
-    }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org