From f621954c0d3a339d8ce39e10ac4e909977f08bb6 Mon Sep 17 00:00:00 2001 From: Jan Marvin Garbuszus Date: Fri, 1 Dec 2023 15:21:16 +0100 Subject: [PATCH] cleanup and comment --- src/writesas.cpp | 2 ++ 1 file changed, 2 insertions(+) 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;