Skip to content

Commit

Permalink
Merge pull request #351 from fieldryand/origin-class-fix
Browse files Browse the repository at this point in the history
origin should be a POSIXct class and inherit from POSIXt
  • Loading branch information
vspinu committed Oct 8, 2015
2 parents 333b8c4 + b20ccc6 commit 28ff15a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/instants.r
Expand Up @@ -79,4 +79,4 @@ today <- function(tzone = "") {
#' @examples
#' origin
#' # "1970-01-01 GMT"
origin <- with_tz(structure(0, class = c("POSIXt", "POSIXct")), "UTC")
origin <- with_tz(structure(0, class = c("POSIXct", "POSIXt")), "UTC")

0 comments on commit 28ff15a

Please sign in to comment.