Author Topic: Events Off By 4 Hours When Syncing With Outlook  (Read 4043 times)

bit_bucket

  • Newbie
  • *
  • Posts: 40
    • View Profile
Events Off By 4 Hours When Syncing With Outlook
« on: March 28, 2007, 04:40:06 pm »
First off, I am running Cacko 1.23 on a Sl-C3200.
I got syncing working with Intellisync using a hack I found online.  All of my items sync.  I noticed that events were off after the first sync by 1 hour. I chalked this up to the recent 2007 DST changes.  So I applied the 2007 timezones package that meanie made.  I then linked in my locale America/Washington the /usr/share/zoneinfo/EST5EDT.  I know this is the right file because I did a zdump on it and saw the lines for 2007.  So after that, all appointments in my calendar are off by 4 hours now.  I even tried with a fresh image of Cacko 1.23 and the patch against a fresh Intellisync install and the same results ensued.  I cant seem to fix it.  I even dumped the DTM database into an xml file and the event times were off in there.  Anyone know how to make the Sharp datebook work properly?  I am really contemplating going back to the 1.03jp rom and modifying for english myself.  Any help would be greatly appreciated!
« Last Edit: March 28, 2007, 04:41:27 pm by bit_bucket »

RobbH

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://
Events Off By 4 Hours When Syncing With Outlook
« Reply #1 on: March 28, 2007, 09:14:09 pm »
I've had the same problem. To make matters worse, I found that my alarm no longer worked. Items entered in the calendar were four hours off, but the alarm never sounded. Not at the time I wanted, not at the time displayed, nor at any other time, as far as I could tell.

I uninstalled the DST updates. That leaves me with a Z that no longer recognizes any time zones! It thinks the entire world is on GMT. But at least the alarms work again.

I suppose eventually I'll restore a NAND backup, which I hope will give me working time zones again, but will not recognize the new dates for DST. Or it may be time to try flashing a different ROM. I like Cacko, but I've been wondering about pdaXrom....
C1000   Cacko 1.23   pdaXqt

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Events Off By 4 Hours When Syncing With Outlook
« Reply #2 on: March 28, 2007, 09:29:02 pm »
Linux, ie the system that Qtopia runs on uses /etc/localtime (or a symlink from /homeQtPalmtop/etc/localtime) for determining timezones. However, the Qtopia apps, use the qpe interface which use the entry under /home/zaurus/Settings/locale.conf instead
both settings may in fact be conflicting
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

bit_bucket

  • Newbie
  • *
  • Posts: 40
    • View Profile
Events Off By 4 Hours When Syncing With Outlook
« Reply #3 on: March 29, 2007, 06:31:43 am »
Quote
Linux, ie the system that Qtopia runs on uses /etc/localtime (or a symlink from /homeQtPalmtop/etc/localtime) for determining timezones. However, the Qtopia apps, use the qpe interface which use the entry under /home/zaurus/Settings/locale.conf instead
both settings may in fact be conflicting
[div align=\"right\"][a href=\"index.php?act=findpost&pid=157480\"][{POST_SNAPBACK}][/a][/div]

Once again my friend you come through for us.  I tried again with a clean Cacko install, applied the DST patch, then went to /usr/share/zoneinfo/US and changed the Eastern link to point to ../EST5EDT.  I the went into /home/zaurus/Settings/locale.conf and changed Americas/New_York to EST5EDT.  Next I rebooted, and and then sync'd to outlook.  All my appointments were then on time.

Thank you so much for the hint!  I was beginning to wonder what I should do...

RobbH

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://
Events Off By 4 Hours When Syncing With Outlook
« Reply #4 on: March 29, 2007, 08:45:40 pm »
Still no luck for me. bit bucket, would you be willing to check something for me? What's the status of your /etc/localtime file? Is it also linked to EST5EDT?
C1000   Cacko 1.23   pdaXqt

bit_bucket

  • Newbie
  • *
  • Posts: 40
    • View Profile
Events Off By 4 Hours When Syncing With Outlook
« Reply #5 on: March 30, 2007, 12:37:34 pm »
Quote
Still no luck for me. bit bucket, would you be willing to check something for me? What's the status of your /etc/localtime file? Is it also linked to EST5EDT?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=157541\"][{POST_SNAPBACK}][/a][/div]

Nope, I deliberatly didnt make this link.  I did exactly the following on my 3200

1) reimaged with full cacko 1.23
2) logged into the terminal
    a) su -
    B) mount -o remount rw /
3) opened up the package installer and selected install packages from the network
4) configured 'http://www.tyrannozaurus.com/feed/beta3/custom/' as a feed
5) Searched for timezone and ignored the first package and clicked install on the second package.
6) Went back to terminal and did some cmd's
    AS ROOT
    a) cd /usr/share/zoneinfo/US
    B) rm Eastern
    c) ln -s ../EST5EDT Eastern
    d) vi /home/zaurus/Settings/local.conf and set the timezone in there to EST5EDT
7) Rebooted
8) Connected to a pc and synced to Outlook

At that point all of my calendar times were right.  It's also important to note that if you have not patched the box you are syncing to and Outlook, your times will still be off.
« Last Edit: March 30, 2007, 12:39:35 pm by bit_bucket »

RobbH

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://
Events Off By 4 Hours When Syncing With Outlook
« Reply #6 on: April 02, 2007, 11:37:37 pm »
Thanks for your detailed directions. I will probably follow your directions eventaully. First, though, I think I'll try pdaXrom. I've been wondering about it for some time. And maybe I'll return to Cacko, maybe not.

I'm still curious, though: what is the status of your  /etc/localtime file -- is it linked somewhere, or is it a file? If a file, text or unreadable binary? I'm still curious about exactly what I did to break the timezones on my Z, so I'm wondering what that file is supposed to be.
C1000   Cacko 1.23   pdaXqt

bit_bucket

  • Newbie
  • *
  • Posts: 40
    • View Profile
Events Off By 4 Hours When Syncing With Outlook
« Reply #7 on: April 03, 2007, 05:39:05 pm »
Quote
I'm still curious, though: what is the status of your  /etc/localtime file -- is it linked somewhere, or is it a file? If a file, text or unreadable binary? I'm still curious about exactly what I did to break the timezones on my Z, so I'm wondering what that file is supposed to be.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=157832\"][{POST_SNAPBACK}][/a][/div]

There is no link or file.  I do not have an /etc/localtime.  I found that if I put that into place my calendar would be off.  When I removed it and rebooted the calendar went back to normal.  I believe the whole problem to be the calendar not getting a proper timezone variable so it defaults to UTC.

RobbH

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://
Events Off By 4 Hours When Syncing With Outlook
« Reply #8 on: April 04, 2007, 10:10:18 pm »
Quote
....There is no link or file.  I do not have an /etc/localtime.  I found that if I put that into place my calendar would be off.  When I removed it and rebooted the calendar went back to normal....

Thanks! That's exactly what I needed.

I must have created the link in a burst of enthusiasm after reading the DST info on Antikx's site. And without documenting what I was doing.

On the first morning of the new North American DST I felt very smug that my Z updated automatically, while my OpenSUSE desktop had to sync to a time server before it updated. At least two days passed before I tried to enter a new event in the calendar and found that Things Weren't Working.

Thanks for all your help.
C1000   Cacko 1.23   pdaXqt