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 <olegfuk...@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-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org