Skip to content

Commit

Permalink
Add argument to calculate md5 if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
sinhaashish committed Feb 6, 2020
1 parent 60dfc03 commit 47d23da
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 59 deletions.
3 changes: 1 addition & 2 deletions api/src/main/java/io/minio/DateFormat.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ public class DateFormat {
public static final DateTimeFormatter HTTP_HEADER_DATE_FORMAT =
DateTimeFormat.forPattern("EEE',' dd MMM yyyy HH':'mm':'ss 'GMT'").withZoneUTC().withLocale(Locale.US);

public static final DateTimeFormatter RETENTION_DATE_FORMAT = EXPIRATION_DATE_FORMAT;
// DateTimeFormat.forPattern("yyyy-MM-dd'T'HH':'mm':'ss'Z'").withZoneUTC().withLocale(Locale.US);
public static final DateTimeFormatter RETENTION_DATE_FORMAT = EXPIRATION_DATE_FORMAT;

private DateFormat() {}
}
Loading

0 comments on commit 47d23da

Please sign in to comment.