mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-26 00:40:05 +01:00
synced with main repository
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// LocalDateTime.cpp
|
||||
//
|
||||
// $Id: //poco/Main/Foundation/src/LocalDateTime.cpp#12 $
|
||||
// $Id: //poco/svn/Foundation/src/LocalDateTime.cpp#3 $
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: DateTime
|
||||
@@ -141,7 +141,6 @@ LocalDateTime& LocalDateTime::operator = (const Timestamp& timestamp)
|
||||
_dateTime = timestamp;
|
||||
determineTzd(true);
|
||||
}
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -274,7 +273,7 @@ LocalDateTime& LocalDateTime::operator -= (const Timespan& span)
|
||||
}
|
||||
|
||||
|
||||
void LocalDateTime::determineTzd (bool adjust)
|
||||
void LocalDateTime::determineTzd(bool adjust)
|
||||
{
|
||||
std::time_t local;
|
||||
std::tm broken;
|
||||
@@ -293,5 +292,6 @@ void LocalDateTime::determineTzd (bool adjust)
|
||||
adjustForTzd();
|
||||
}
|
||||
|
||||
|
||||
} // namespace Poco
|
||||
|
||||
|
||||
Reference in New Issue
Block a user