summaryrefslogtreecommitdiff
path: root/library
Side-by-side diff
Diffstat (limited to 'library') (more/less context) (show whitespace changes)
-rw-r--r--library/backend/event.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/backend/event.cpp b/library/backend/event.cpp
index 7ccf16b..2d02a34 100644
--- a/library/backend/event.cpp
+++ b/library/backend/event.cpp
@@ -1132,6 +1132,6 @@ static VObject *createVObject( const Event &e )
VObject *event = safeAddProp( vcal, VCEventProp );
- safeAddPropValue( event, VCDTstartProp, TimeConversion::toISO8601( e.start() ) );
- safeAddPropValue( event, VCDTendProp, TimeConversion::toISO8601( e.end() ) );
+ safeAddPropValue( event, VCDTstartProp, toISOLocal( e.start() ) );
+ safeAddPropValue( event, VCDTendProp, toISOLocal( e.end() ) );
safeAddPropValue( event, "X-Qtopia-NOTES", e.description() );
safeAddPropValue( event, VCDescriptionProp, e.description() );
@@ -1142,5 +1142,5 @@ static VObject *createVObject( const Event &e )
QDateTime dt = e.start();
dt = dt.addSecs( -e.alarmTime()*60 );
- safeAddPropValue( alarm, VCRunTimeProp, TimeConversion::toISO8601( dt ) );
+ safeAddPropValue( alarm, VCRunTimeProp, toISOLocal( dt ) );
safeAddPropValue( alarm, VCAudioContentProp,
(e.alarmSound() == Event::Silent ? "silent" : "alarm" ) );