Re: [os-libsynthesis] About 'autodate' and 'autoenddate'

2009-08-12 Thread Zhu, Yongsheng
The patch does work! Thanks for your patch. Regards, Yongsheng -Original Message- From: Lukas Zeller [mailto:l...@synthesis.ch] Sent: Wednesday, August 12, 2009 6:40 PM To: Zhu, Yongsheng Cc: os-libsynthesis@synthesis.ch; Ohly, Patrick Subject: Re: [os-libsynthesis] About 'aut

Re: [os-libsynthesis] About 'autodate' and 'autoenddate'

2009-08-12 Thread Lukas Zeller
Hi Patrick, On Aug 11, 2009, at 14:19 , Patrick Ohly wrote: "autoenddate" is significant only for vCalendar 1.0 rendering, "rendering" = "parsing"? "handling" would have been the right word - it affects both parsing and generating... as it will turn on detecting 23:59:59 as an end-of-d

Re: [os-libsynthesis] About 'autodate' and 'autoenddate'

2009-08-12 Thread Lukas Zeller
Hi Yongsheng, There's in fact a bug in the way the autoenddate case was handled. To detect end-of-day, it converted the timestamp into local time, and when it saw 23:59:59 this was converted to beginning of next day - but I forgot to write back the time context, so it came out as UTC 0:00

Re: [os-libsynthesis] About 'autodate' and 'autoenddate'

2009-08-11 Thread Zhu, Yongsheng
ay, August 11, 2009 8:19 PM To: Lukas Zeller Cc: Zhu, Yongsheng; os-libsynthesis@synthesis.ch Subject: Re: [os-libsynthesis] About 'autodate' and 'autoenddate' On Tue, 2009-08-11 at 11:37 +0100, Lukas Zeller wrote: > Hi Yongsheng, > > "autoenddate" is significant onl

Re: [os-libsynthesis] About 'autodate' and 'autoenddate'

2009-08-11 Thread Patrick Ohly
On Tue, 2009-08-11 at 11:37 +0100, Lukas Zeller wrote: > Hi Yongsheng, > > "autoenddate" is significant only for vCalendar 1.0 rendering, "rendering" = "parsing"? > as it > will turn on detecting 23:59:59 as an end-of-day marker and convert it > to 0:00 the next day and when generating vCal

Re: [os-libsynthesis] About 'autodate' and 'autoenddate'

2009-08-11 Thread Patrick Ohly
On Tue, 2009-08-11 at 09:49 +0100, Zhu, Yongsheng wrote: > Hi, > In the ' syncclient_sample_config.xml', DTSTART's conversion value is > 'autodate' and > DTEND's conversion value is 'autoenddate'. Anyone who knows what differences > between > these 2 types? > > My investigation gives me a resul

Re: [os-libsynthesis] About 'autodate' and 'autoenddate'

2009-08-11 Thread Lukas Zeller
Hi Yongsheng, "autoenddate" is significant only for vCalendar 1.0 rendering, as it will turn on detecting 23:59:59 as an end-of-day marker and convert it to 0:00 the next day and when generating vCalendar 1.0, it will represent all-day-events according to the setting. For iCalendar 2.0,

[os-libsynthesis] About 'autodate' and 'autoenddate'

2009-08-11 Thread Zhu, Yongsheng
Hi, In the ' syncclient_sample_config.xml', DTSTART's conversion value is 'autodate' and DTEND's conversion value is 'autoenddate'. Anyone who knows what differences between these 2 types? My investigation gives me a result that if a field conversion is 'autoenddate', different from 'autodate'