We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0187051 commit 0319664Copy full SHA for 0319664
inst/include/Rcpp/date_datetime/newDatetimeVector.h
@@ -53,7 +53,7 @@ namespace Rcpp {
53
SET_STRING_ELT(datetimeclass, 1, Rf_mkChar("POSIXt"));
54
Rf_setAttrib(*this, R_ClassSymbol, datetimeclass);
55
56
- if (tz != "") {
+ if (strcmp(tz, "") != 0) {
57
Shield<SEXP> tzsexp(Rf_mkString(tz));
58
Rf_setAttrib(*this, Rf_install("tzone"), tzsexp);
59
}
0 commit comments