Skip to content
This repository was archived by the owner on Nov 5, 2022. It is now read-only.
This repository was archived by the owner on Nov 5, 2022. It is now read-only.

Date format bug in MailBoxDumpRequest.java #414

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions