Skip to content

Commit 8d0ccd1

Browse files
committed
Merge pull request #464 from jeroenooms/solaris
fix for solaris
2 parents 3295102 + 87f6675 commit 8d0ccd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/compare-time.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ compare.POSIXt <- function(x, y, tolerance = 0.001, ..., max_diffs = 9) {
2626
}
2727

2828
standardise_tzone <- function(x) {
29-
if (is.null(attr(x, "tzone"))) {
29+
if (is.null(attr(x, "tzone")) || identical(attr(x, "tzone"), Sys.timezone())) {
3030
attr(x, "tzone") <- ""
3131
}
3232

0 commit comments

Comments
 (0)