Skip to content

Commit

Permalink
fixing time string parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
tanneberger committed Nov 24, 2023
1 parent 2531709 commit 4e57155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ pub async fn travel_file_upload(
timestamp: match point.time {
Some(time) => match chrono::naive::NaiveDateTime::parse_from_str(
&time.format().unwrap(),
"%Y-%m-%dT%H:%M:%SZ",
"%Y-%m-%dT%H:%M:%S.%fZ",
) {
Ok(result) => result,
Err(e) => {
Expand Down

0 comments on commit 4e57155

Please sign in to comment.