Skip to content

Commit

Permalink
Fix timestamp format (#3171)
Browse files Browse the repository at this point in the history
Signed-off-by: Chase Engelbrecht <[email protected]>
  • Loading branch information
engechas authored Aug 16, 2023
1 parent 13cbf58 commit 1a17c08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* An implementation class of path prefix and file pattern configuration Options
*/
public class ObjectKeyOptions {
private static final String DEFAULT_OBJECT_NAME_PATTERN = "events-%{yyyy-MM-dd'T'hh-mm-ss}";
private static final String DEFAULT_OBJECT_NAME_PATTERN = "events-%{yyyy-MM-dd'T'HH-mm-ss'Z'}";

@JsonProperty("path_prefix")
private String pathPrefix;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class ObjectKeyOptionsTest {

private static final String DEFAULT_FILE_PATTERN = "events-%{yyyy-MM-dd'T'hh-mm-ss}";
private static final String DEFAULT_FILE_PATTERN = "events-%{yyyy-MM-dd'T'HH-mm-ss'Z'}";

@Test
void default_file_pattern_test() {
Expand Down

0 comments on commit 1a17c08

Please sign in to comment.