Skip to content

Commit

Permalink
fix: date format
Browse files Browse the repository at this point in the history
  • Loading branch information
dpereira committed Aug 13, 2023
1 parent 5ca9fe9 commit 60801c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/persistence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ impl Elasticsearch {
}

fn date(&self) -> String {
Utc::now().format("%Y-%m-%dY%H:%M:SZ").to_string()
Utc::now().format("%Y-%m-%dT%H:%M:SZ").to_string()
}

fn raw_body(&self, body: &Vec<u8>) -> String {
Expand Down

0 comments on commit 60801c3

Please sign in to comment.