Nothing
#' @import lubridate
#' @noRd
datetime2list <- function(dt, sec){
list(
date = list(
year = year(dt),
month = month(dt),
date = day(dt)
),
time = if(sec) list(
hour = hour(dt),
minute = minute(dt),
second = floor(second(dt))
) else list(
hour = hour(dt),
minute = minute(dt)
)
)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.