Sfoglia il codice sorgente

HPCC-8572 Std.Date functionality

Time support added to Std.Date; new timelib plugin; stringlib
modifications to support time; updated tests for new Std.Date
functionality; additional date manipulation functions for
Gregorian dates.

Signed-off-by: Dan S. Camper <dan.camper@lexisnexis.com>
Dan S. Camper 10 anni fa
parent
commit
5ff9aa7111
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      plugins/timelib/timelib.cpp

+ 1 - 1
plugins/timelib/timelib.cpp

@@ -600,7 +600,7 @@ TIMELIB_API void TIMELIB_CALL tlSecondsToString(size32_t &__lenResult, char* &__
     const size_t    kBufferSize = 256;
     char            buffer[kBufferSize];
 
-    memset(buffer, kBufferSize, 0);
+    memset(buffer, 0, kBufferSize);
 
     tlGMTime_r(&theTime, &timeInfo);