Skip to content

Commit

Permalink
Merge pull request #99 from Rapporteket/bugfix-start-date-format
Browse files Browse the repository at this point in the history
Bugfix start date format
  • Loading branch information
areedv authored Nov 23, 2021
2 parents 704d415 + 1254d9a commit bb7b78d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/AutoReportFuns.R
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ upgradeAutoReportData <- function(config) {
}
if (!"startDate" %in% names(rep)) {
upgradeStartDate <- TRUE
config[[i]]$startDate <- Sys.Date()
config[[i]]$startDate <- "1900-01-01"
}
}

Expand Down Expand Up @@ -215,7 +215,7 @@ upgradeAutoReportData <- function(config) {
if (upgradeStartDate) {
message(paste(
"Auto report data were upgraded:",
"auto reports with no start date defined now set to the current date."
"auto reports with no start date defined now set to 1900-01-01."
))
}

Expand Down

0 comments on commit bb7b78d

Please sign in to comment.