Commit 705d8345 by Jan Wijffels

so apparently locale can not be set in shinyproxy

parent 51d54d9f
......@@ -228,11 +228,11 @@ read_sheet_measurements <- function(file, sheet, sheet_info = read_sheet_info(fi
## try to fill data based on parsed text
idx <- which(is.na(x$datum))
if(length(idx) > 0){
x$datum[idx] <- lubridate::parse_date_time(y$datum[idx], "d/m/Y", locale = "Dutch_Belgium.1252", tz = "UTC")
x$datum[idx] <- lubridate::parse_date_time(y$datum[idx], "d/m/Y", tz = "UTC")
}
idx <- which(is.na(x$tijd))
if(length(idx) > 0){
x$tijd[idx] <- lubridate::parse_date_time(y$tijd[idx], "H!:!M:!S", locale = "Dutch_Belgium.1252", tz = "UTC")
x$tijd[idx] <- lubridate::parse_date_time(y$tijd[idx], "H!:!M:!S", tz = "UTC")
}
}
x
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment