Skip to content

Commit

Permalink
Style code (GHA)
Browse files Browse the repository at this point in the history
  • Loading branch information
billdenney committed Nov 30, 2023
1 parent faf632d commit e3d4f63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/excel_time_to_numeric.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e3d4f63

Please sign in to comment.