R/time.R

Defines functions cleanTZ

cleanTZ <- function(tz) {
  if (substring(tz,1,3)=="UTC") {
    return(paste0("Etc/GMT", substring(tz,4)))
  }
}

Try the sonicscrewdriver package in your browser

Any scripts or data that you put into this service are public.

sonicscrewdriver documentation built on May 2, 2021, 5:06 p.m.