Skip to content

Commit

Permalink
Rebuild docs
Browse files Browse the repository at this point in the history
  • Loading branch information
billdenney committed Nov 30, 2023
1 parent faf632d commit ef5c559
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions R/excel_time_to_numeric.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
#'
#' @details
#'
#' \code{time_value} may be one of the following formats:
#' `time_value` may be one of the following formats:
#' \itemize{
#' \item{numeric}{The input must be a value from 0 to 1 (exclusive of 1); this value is returned as-is.}
#' \item{POSIXlt or POSIXct}{The input must be on the day 1899-12-31 (any other day will cause an error). The time of day is extracted and converted to a fraction of a day.}
#' \item{character}{Any of the following (or a mixture of the choices):}
#' \itemize{
#' \item{A character string that is a number between 0 and 1 (exclusive of 1). This value will be converted like a numeric value.}
#' \item{A character string that looks like a date on 1899-12-31 (specifically, it must start with \code{"1899-12-31 "}), converted like a POSIXct object as described above.}
#' \item{A character string that looks like a date on 1899-12-31 (specifically, it must start with `"1899-12-31 "`), converted like a POSIXct object as described above.}
#' \item{A character string that looks like a time. Choices are 12-hour time as hour, minute, and optionally second followed by "am" or "pm" (case insensitive) or 24-hour time when hour, minute, optionally second, and no "am" or "pm" is included.}
#' }
#' }
Expand All @@ -20,7 +20,7 @@
#' integer?
#' @return A vector of numbers >= 0 and <86400
#' @family Date-time cleaning
#' @seealso \code{\link{excel_numeric_to_date}}
#' @seealso `\link{excel_numeric_to_date}`
#' @export
excel_time_to_numeric <- function(time_value, round_seconds = TRUE) {
UseMethod("excel_time_to_numeric")
Expand Down
14 changes: 7 additions & 7 deletions man/excel_time_to_numeric.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ef5c559

Please sign in to comment.