Ver código fonte

Bug Fix: Corrected Timestamp() formatting.

git-svn-id: https://svn.microneil.com/svn/SNFMulti/trunk@49 dc71a809-1921-45c4-985c-09c81d0142d9
wx
madscientist 11 anos atrás
pai
commit
4407e29999
1 arquivos alterados com 6 adições e 6 exclusões
  1. 6
    6
      snfLOGmgr.cpp

+ 6
- 6
snfLOGmgr.cpp Ver arquivo

@@ -1745,12 +1745,12 @@ string snfLOGmgr::Timestamp(time_t t) {
if(isValidGMT) {
TimestampBfr
<< setw(4) << (gmt->tm_year+1900)
<< setw(2) << setfill('0')
<< (gmt->tm_mon+1)
<< (gmt->tm_mday)
<< (gmt->tm_hour)
<< (gmt->tm_min)
<< (gmt->tm_sec);
<< setw(2) << setfill('0') << (gmt->tm_mon+1)
<< setw(2) << setfill('0') << (gmt->tm_mday)
<< setw(2) << setfill('0') << (gmt->tm_hour)
<< setw(2) << setfill('0') << (gmt->tm_min)
<< setw(2) << setfill('0') << (gmt->tm_sec)
;
theTimeStamp = TimestampBfr.str();
}
return theTimeStamp; // Return a string.

Carregando…
Cancelar
Salvar