diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-02-11 15:58:55 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-02-13 09:54:40 +0900 |
commit | 3f26d326c9bd8fbd60e5d89e20a705c87a837b1f (patch) | |
tree | 4f7a65469f9a686f2c9e28d34e90b9e12d7f0e17 /tderesources | |
parent | ecde0bac61ec5d993f0ab1f240105bf32867a08b (diff) | |
download | tdepim-3f26d326c9bd8fbd60e5d89e20a705c87a837b1f.tar.gz tdepim-3f26d326c9bd8fbd60e5d89e20a705c87a837b1f.zip |
Fixed FTBFS caused by migration to libical 3. The changes
are compatible with previous versions of libical.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8996740084e6d31d323cfeb1a269f8427ff3f6bf)
Diffstat (limited to 'tderesources')
-rw-r--r-- | tderesources/lib/webdavhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tderesources/lib/webdavhandler.cpp b/tderesources/lib/webdavhandler.cpp index fea7a0b16..af5eb2767 100644 --- a/tderesources/lib/webdavhandler.cpp +++ b/tderesources/lib/webdavhandler.cpp @@ -186,7 +186,7 @@ TQDateTime WebdavHandler::zoneAsUtc( const TQDateTime& zone, const TQString& tim TQDateTime epoch; epoch.setTime_t( 0 ); time_t v = epoch.secsTo( zone ); - struct icaltimetype tt = icaltime_from_timet( v, 0 ); // 0: is_date=false + struct icaltimetype tt = icaltime_from_timet_with_zone( v, 0, NULL ); int offset = icaltimezone_get_utc_offset( icaltimezone_get_builtin_timezone( timeZoneId.latin1() ), &tt, &daylight ); |