Seite 1 von 2

Thunderbird/Lightning calendar sync day off

Verfasst: So 28. Okt 2007, 02:20
von BennyNY
Hi,
I'm syncing my w810i with Thunderbird/Lightning and my all day events are showing up on my phone a day off! please help me

thanks

Verfasst: So 28. Okt 2007, 11:05
von FJ
Did you change the daylightsetting in the phone ?

Verfasst: So 28. Okt 2007, 16:18
von Gast
nope didn't change anything. when i open MPE it shows it there on the wrong dates also

Verfasst: So 28. Okt 2007, 16:32
von NP
I'd guess your timezone setting in Lightning is not correct.

Verfasst: So 28. Okt 2007, 16:37
von Gast
just to clarify, I'm in NY GMT -5 we are still on daylight savings time, my phone, computer, and lighting are all set to GMT -5, i dont see a setting in lighting regarding the daylight savings time.

Verfasst: Mo 29. Okt 2007, 09:42
von NP
Well, you timezone setting in the lightning preferences should say America/New_York.

So, let's check versions: You should be using:

- Thunderbird 2.0.0.6
- Lightning 0.7
- MPE 1.6.3 and the MPE-Thunderbird addin contained there

Furthermore:

- Create a test event that shows the abnormal behaviour you described
- Open a command line window, cd into thunderbird's program directory
- execute the following command:

thunderbird -mpe export-items=c:\items.txt

This should create a text file c:\items.txt containing all entries in you calendar. Each event takes one line; please post the line containing your test event here.

Verfasst: Mo 29. Okt 2007, 20:30
von BennyNY
ITYPE:EVENT;CALID:moz-profile-calendar=3A//;ITMID:38DF8A23-249E-4109-976D-E38D53BA4783-C3712CEA-7546-4E3E-9698-4FB4FFFA6903;TITLE:18th=20of=20Cheshvan=2C=205769;SDATE:D1226793600;EDATE:D1226880000;CTIME:1173833602;MTIME:1173833641;PRIOR:0

Verfasst: Mo 29. Okt 2007, 21:30
von NP
Please tell me the program versions you are using. There IS something wrong with you timezone settings. The SDATE of your whole day event is a multiple of 86400, which implies that the event is a whole day event in GMT, but not in your timezone.

Verfasst: Mo 29. Okt 2007, 22:43
von BennyNY
thunderbird version 2.0.0.6
Lightnin 0.7
MPE 1.6.4

Verfasst: Di 30. Okt 2007, 10:24
von NP
Please check your extended thunderbird configuration (about:config) and report your settings of:

calendar.timezone.default
calendar.timezone.local

Verfasst: Di 30. Okt 2007, 14:12
von BennyNY
calendar.timezone.local /mozilla.org/20070129_1/America/New_York
there is no default

Verfasst: Di 30. Okt 2007, 16:12
von NP
Can you export the Lightning Calendar in ICS-Format? I only need to see the event you posted before in this format, but there is no way to export a single event. You can mail the calendar to me or, if you find your event in the ics-file using a text editor, post only this event here.

Then please export this event again as vcs from MyPhoneExplorer (MPE CAN export single events) and post it here, too.

Verfasst: Di 30. Okt 2007, 17:20
von BennyNY
Lightning export:
SUMMARY:18th of Cheshvan\, 5768
DTSTART;VALUE=DATE:20071030
DTEND;VALUE=DATE:20071031
END:VEVENT
BEGIN:VEVENT
CREATED:20070314T005320Z
LAST-MODIFIED:20070314T005344Z
DTSTAMP:20071030T160309Z
UID:
EC1C12F9-01EF-4458-8740-47DDEDCBEE12-C3712CEA-7546-4E3E-9698-4FB4FFFA6903


MPE Export:
BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VEVENT
SUMMARY:18th of Cheshvan, 5768
DTSTART:20071029T040000Z
DTEND:20071030T035900Z
LAST-MODIFIED:20070924T022048Z
X-IRMC-LUID:000000010303
END:VEVENT
END:VCALENDAR

Verfasst: Mi 31. Okt 2007, 11:17
von NP
When you edit your event in lightning, what timezone does it show right beside start and end date? Lightning 0.7 at least shows the timezone of the event.

What I don't understand is why your event does not contain timezone information in its ICS export. Here is an ICS export of a test event I just created:

BEGIN:VEVENT
CREATED:20071031T100327Z
LAST-MODIFIED:20071031T100343Z
DTSTAMP:20071031T100851Z
UID:6187bdae-18c6-4c13-9905-26207fa4cc4d
SUMMARY:TEST
DTSTART;VALUE=DATE;TZID=/mozilla.org/20070129_1/Europe/Berlin:20071031
DTEND;VALUE=DATE;TZID=/mozilla.org/20070129_1/Europe/Berlin:20071101
TRANSP:TRANSPARENT
END:VEVENT

It seems to me that your events were created without correct timezone information; this would explain the time difference between lightning and MPE.

Please also try to create a new test event (the one you posted is an old event, as shown by the creation timestamp), and check wether it comes out correctly.

Verfasst: Mi 31. Okt 2007, 17:17
von BennyNY
it shows NY time zone
what I'm doing is importing someone else's ical calendar (located here ) , maybe thats why its not showing the time zone. I imported it many times into Outlook then synced my phone with the SE software and it worked beautifully, the prob is that i use thunderbird regularly.

Verfasst: Mi 31. Okt 2007, 20:02
von NP
Are you importing it, or subscribing to it?

Verfasst: Do 1. Nov 2007, 04:30
von BennyNY
Importing

Verfasst: Fr 2. Nov 2007, 10:50
von NP
OK, please try this new addin-version:

http://www.pueschel.net/mpe/mpe-addin.xpi

The cause of your problem is the timezone definition of the calendar you are importing. Lightning doesn't support foreign timezones yet - this will probably be in version 0.8. Lightning shows your events OK, but when you try to edit one of it, it shows UTC as timezone. Exporting it gives MPE contradictory information - it is a whole day event that does not start on the beginning of a whole day in your timezone, and thus it shows up on the wrong day in MPE.

As a workaround, I changed the behaviour of the MPE-addin when exporting whole day events - they are now silently corrected to always fill a whole day in your local time zone, which is probably what people expect of whole day events...

BennyNY

Verfasst: Fr 2. Nov 2007, 21:49
von Gast
thanks alot!
it works now for new all day events that i enter, is there any way to make it change the the all day events that are already in there? i tried forcing thunderbird->phone but it didn't change the events already on the phone in the wrong day

Verfasst: Sa 3. Nov 2007, 07:02
von NP
Sorry, MPE won't sync the events unless their modification time changes. You can edit them in Lightning to change their modification time. Or, you can change the synchronisation settings in MPE to "sync MPE only", delete the events in MPE and your handy, and then sync again with lightning.

No other way I can think of.