Zaurus 5500 Datebook Time Correction

When syncing your Zaurus with Qtopiadesktop the times in your Appointment book on Qtopiadesktop are displayed in UTC.

The problem is on the Zaurus itself.  When you make an appointment at the bottom of the screen is a timezone setting, it should be displaying the time zone that you are in.  The Zaurus stores all the dates in UTC format.  The timezone that you specify must be in the Olson database.
This database specifies all the timezones in the world and how that handle time, such as dealing with daylight savings time or not).  A discussion of timezones can be found at http://www.mindspring.com/~gwil/tconcept.html   



Set the time zone on your Zaurus under settings DateTime > Timezone.

The timezone setting for Qtopia is in the ~.palmtopcenter/Settings/locale.conf

[Language]
[Location]
Timezone = America/Chicago

This would be the correct setting if you were in the CST/CDT timezone.  All of the timezones are listed on the Zaurus in the

/usr/share/zoneinfo/


If you make an appointment on the Zaurus or Qtopiadesktop toward the bottom of the form should be the timezone that you just configured, if everything was done correctly.


Now to correct the appointments already stored.  First make a backup of all you files on the Zuarus using the backup/restore utility on the zaurus to your CF or SD. Or the datebook file is located on you Zaurus at

/home/root/Applications/datebook/datebook.xml

from the shell prompt on the zaurus you can copy the file to your

CF card at

/mnt/cf

or the SD card at

/mnt/card


Just incase you mess up.
 
If you goto you home directory on the Linux box.

cd ~/.plamtopcenter/datebook/

you will find the file datebook.xml list it with

cat datebook.xml | less

scroll through the file under each of the entries is a variable timezone= ; this is where the Olson database timezone should be listed.  Yours probably will say timezone="none" which is the problem and the reason for the discrepency.

make a backup of the file datebook.xml by using the command

cp datebook.xml datebook.xml.old

then you can use an editor like KWRITE Edit>FindReplace to change all the values to the correct timezone.  For example if you are in the EST/EDT zone this should be
timezone="America/New_York" , in the CST/CDT zone this would be timezone="America/Chicago".  

Then into Qtopia on the Linux box under File>Settings>General>DateTime should have the correct zone information.  Under sync check Qtopia Desktop is correct, overide device changes.  Then sync you zaurus and things should be fine.  They you can change the sync setting back after everthing is fine.



Last modified 06/15/2003

Home