libical3
authorDebian QA Group <packages@qa.debian.org>
Thu, 2 Apr 2020 12:46:29 +0000 (13:46 +0100)
committerSebastien Bacher <seb128@ubuntu.com>
Thu, 2 Apr 2020 12:46:29 +0000 (13:46 +0100)
===================================================================

Gbp-Pq: Name libical3.diff

src/text/ptbl/xp/pd_DocumentRDF.cpp

index 3406b8888f2ac63e71aab7c9cb73709ff1df48d3..060954a9288cce34871eada6413072594b1e46db 100644 (file)
@@ -2269,8 +2269,8 @@ PD_RDFEvent::exportToFile( const std::string& filename_const ) const
         icalcomponent_set_uid( c,         m_uid.c_str() );
         icalcomponent_set_location( c,    m_location.c_str() );
         icalcomponent_set_description( c, m_desc.c_str() );
-        icalcomponent_set_dtstart( c,     icaltime_from_timet( m_dtstart, 0 ) );
-        icalcomponent_set_dtend( c,       icaltime_from_timet( m_dtend, 0 ) );
+        icalcomponent_set_dtstart( c,     icaltime_from_timet_with_zone( m_dtstart, 0, NULL ) );
+        icalcomponent_set_dtend( c,       icaltime_from_timet_with_zone( m_dtend, 0, NULL ) );
 
         char* data = icalcomponent_as_ical_string( c );
         std::ofstream oss( filename.c_str() );