In docomentation for Google Apps Email Audit API said:
"The date format is yyyy-MM-dd HH:mm where the HH is the hour of the day using
0 - 23, and the mm is the minutes of the hour using 0 - 59."
But, in Java implementation of API in file MailBoxDumpRequest.java
at line 59 we have code
DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd hh:mm");
"hh" - is wrong format for hour 0 - 59. Correct format is "HH"
Correct code of line 59 will be
DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm");
Thanks!
Original issue reported on code.google.com by petro.no...@gmail.com on 9 Nov 2012 at 3:50
Original issue reported on code.google.com by
petro.no...@gmail.com
on 9 Nov 2012 at 3:50