From faf632d984b917a65da05e9efe97317f459ccc7d Mon Sep 17 00:00:00 2001 From: Bill Denney Date: Thu, 30 Nov 2023 15:46:59 -0500 Subject: [PATCH] Update R/excel_time_to_numeric.R Co-authored-by: Sam Firke --- R/excel_time_to_numeric.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/excel_time_to_numeric.R b/R/excel_time_to_numeric.R index 9922dd9a..8e401531 100644 --- a/R/excel_time_to_numeric.R +++ b/R/excel_time_to_numeric.R @@ -87,7 +87,7 @@ excel_time_to_numeric.character <- function(time_value, round_seconds = TRUE) { "24hr" = "^([0-1]?[0-9]|2[0-3]):([0-5][0-9])(?::([0-5][0-9]))?$", # The ".*?" at the end of POSIX is to allow for a time zone, but it allows # for imperfect parsing if there were just a date and a space. - # The the entire time is optional to allow for midnight which shows as + # The entire time is optional to allow for midnight which shows as # just the date and time zone. POSIX = "1899-12-31 (?:([0-1]?[0-9]|2[0-3]):([0-5][0-9])(?::([0-5][0-9]))?)?.*?$" )