mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 20:59:45 +01:00
integrated improvements from 1.3.4 (NumberFormatter::append(), DateTimeFormatter::append()
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// RotateStrategy.cpp
|
||||
//
|
||||
// $Id: //poco/1.3/Foundation/src/RotateStrategy.cpp#2 $
|
||||
// $Id: //poco/Main/Foundation/src/RotateStrategy.cpp#8 $
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Logging
|
||||
@@ -101,7 +101,7 @@ bool RotateByIntervalStrategy::mustRotate(LogFile* pFile)
|
||||
{
|
||||
_lastRotate.update();
|
||||
std::string tag(ROTATE_TEXT);
|
||||
tag += DateTimeFormatter::format(_lastRotate, DateTimeFormat::RFC1036_FORMAT);
|
||||
DateTimeFormatter::append(tag, _lastRotate, DateTimeFormat::RFC1036_FORMAT);
|
||||
pFile->write(tag);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user