Skip to content

Commit

Permalink
update how the timestamp is displayed in the file name
Browse files Browse the repository at this point in the history
  • Loading branch information
Karim-Mane committed Mar 18, 2024
1 parent b182900 commit 10024f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/print_report.R
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ print_report <- function(data,
stopifnot("No report associated with the input data." = !is.null(report))

# generate output file and directory
timestamp_string <- format(Sys.time(), "_%Y-%m-%d%_at_%H:%M:%S")
timestamp_string <- format(Sys.time(), "_%Y-%m-%d%_at_%H-%M-%S")
if (is.null(output_filename)) {
output_filename <- paste0("cleanepi_report_", timestamp_string)
}
Expand Down

0 comments on commit 10024f5

Please sign in to comment.