diff --git a/src/writesas.cpp b/src/writesas.cpp index 7650a3a..360fca9 100644 --- a/src/writesas.cpp +++ b/src/writesas.cpp @@ -659,6 +659,8 @@ void writesas(const char * filePath, Rcpp::DataFrame dat, uint8_t compress, offsetpos += lblz.size(); lbls.OFF = offsetpos; + // somehow this does not work with datetime. Maybe the offset + // needs to be recalculated afterwards? std::string fmtz = varformats[z]; offsetpos += fmtz.size(); fmts.OFF = offsetpos;