[Korganizer-devel] [Bug 165212] Configured time zone is not always honored

Michael Eager eager at eagercon.com
Mon Feb 9 21:24:14 CET 2009


http://bugs.kde.org/show_bug.cgi?id=165212


Michael Eager eager eagercon com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eager at eagercon.com




--- Comment #30 from Michael Eager <eager eagercon com>  2009-02-09 21:24:13 ---
I've added a python script which rewrites the DTSTART/DTEND lines in an ICS
file to add time zone info and adjust the time.  This is similar to the ruby
script mentioned in comment #17, except that (1) I had problems with the ruby
and all of it's dependencies on Fedora 10, (2) it doesn't require
/etc/timezone, and (3) it doesn't modify the installed std.ics calendar (which
clobbered my calendar when dependencies were missing).  

The calendar is adjusted to the local time zone, including adjusting date and
time and inserting the time zone name you specify.  

The time zone name should match the current time zone.  It's not possible (as
written) to adjust a calendar to a time zone other than your current time zone.
 I've only tested this for my time zone.  

Example: 
  ./migrateics.py  America/Los_Angeles ~/.kde/share/apps/korganizer/std.ics >
new.ics
  cp ~/.kde/share/apps/korganizer/std.ics ~/.kde/share/apps/korganizer/std.ics~
  cp new.ics ~/.kde/share/apps/korganizer/std.ics


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Korganizer-devel mailing list