Skip to content

Commit

Permalink
Add concrete definition of datetime output format
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-z-am committed Nov 17, 2023
1 parent 340bb0d commit 5b5e7a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/prep_Qsim_output.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ QSIM_prepare_for_tool <-function(
df_out <- df_out %>% tidyr::spread(.data$site, .data$VO2)
df_out$Datum <- as.POSIXct(df_out$Datum, format = "%d.%m.%Y %H:%M")
df_out <- df_out[order(df_out$Datum),]
df_out$Datum <- format(df_out$Datum, "%d.%m.%Y %H:%M")

target_folder <- file.path(misa_tool_input_path, "sites_per_file")
if(!dir.exists(paths = target_folder)){
Expand Down

0 comments on commit 5b5e7a8

Please sign in to comment.