From e3d4f634dc173ea076ca2c7c364ef93822e7c648 Mon Sep 17 00:00:00 2001 From: billdenney Date: Thu, 30 Nov 2023 20:48:39 +0000 Subject: [PATCH] Style code (GHA) --- R/excel_time_to_numeric.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/excel_time_to_numeric.R b/R/excel_time_to_numeric.R index 8e401531..69b5b9d7 100644 --- a/R/excel_time_to_numeric.R +++ b/R/excel_time_to_numeric.R @@ -38,8 +38,8 @@ excel_time_to_numeric.logical <- function(time_value, round_seconds = TRUE) { #' @export excel_time_to_numeric.numeric <- function(time_value, round_seconds = TRUE) { if (all(is.na(time_value) | - (time_value >= 0 & - time_value < 1))) { + (time_value >= 0 & + time_value < 1))) { seconds <- time_value * 86400 if (round_seconds) { seconds <- round(seconds)