[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 165212] Configured time zone is not always honored
From:       Michael Eager <eager () eagercon ! com>
Date:       2009-02-09 20:24:15
Message-ID: 20090209202415.4377A13A0D () immanuel ! kde ! org
[Download RAW message or body]

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


Michael Eager eager eagercon com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eager@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 watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic