diff options
Diffstat (limited to 'Swiften/Base/DateTime.cpp')
| -rw-r--r-- | Swiften/Base/DateTime.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Base/DateTime.cpp b/Swiften/Base/DateTime.cpp index 4443566..23b3b84 100644 --- a/Swiften/Base/DateTime.cpp +++ b/Swiften/Base/DateTime.cpp @@ -1,8 +1,8 @@ /* - * Copyright (c) 2011-2016 Isode Limited. + * Copyright (c) 2011-2019 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #include <Swiften/Base/DateTime.h> @@ -37,12 +37,12 @@ std::string dateTimeToString(const boost::posix_time::ptime& time) { std::string dateTimeToLocalString(const boost::posix_time::ptime& time) { std::string localString; try { localString = boost::posix_time::to_simple_string(boost::date_time::c_local_adjustor<boost::posix_time::ptime>::utc_to_local(time)); } catch(std::out_of_range& exception) { - SWIFT_LOG(debug) << exception.what() << std::endl; + SWIFT_LOG(debug) << exception.what(); } return localString; } } |
Swift