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,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2011-2016 Isode Limited. | 2 | * Copyright (c) 2011-2019 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -40,7 +40,7 @@ std::string dateTimeToLocalString(const boost::posix_time::ptime& time) { | |||
| 40 | localString = boost::posix_time::to_simple_string(boost::date_time::c_local_adjustor<boost::posix_time::ptime>::utc_to_local(time)); | 40 | localString = boost::posix_time::to_simple_string(boost::date_time::c_local_adjustor<boost::posix_time::ptime>::utc_to_local(time)); |
| 41 | } | 41 | } |
| 42 | catch(std::out_of_range& exception) { | 42 | catch(std::out_of_range& exception) { |
| 43 | SWIFT_LOG(debug) << exception.what() << std::endl; | 43 | SWIFT_LOG(debug) << exception.what(); |
| 44 | } | 44 | } |
| 45 | return localString; | 45 | return localString; |
| 46 | } | 46 | } |
Swift