Skip to content

Commit

Permalink
Fix date format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Santhosh Vasabhaktula authored and Santhosh Vasabhaktula committed Mar 14, 2016
1 parent 9cfa311 commit 5e11306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/pinterest/secor/common/LogFilePath.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class LogFilePath {
private final String mExtension;
private String mOutputFilePattern;
private SimpleDateFormat timeFormat = new SimpleDateFormat("HH-mm");
private SimpleDateFormat dateFormat = new SimpleDateFormat("YYYYMMDD");
private SimpleDateFormat dateFormat = new SimpleDateFormat("YYYYMMdd");

public LogFilePath(String prefix, int generation, long lastCommittedOffset,
ParsedMessage message, String extension) {
Expand Down

0 comments on commit 5e11306

Please sign in to comment.