<div dir="ltr">Sorry but I knew it is not wise to implement it like this, because being a political choice it can change from year to year. But if there is no alternative, I will proceed on that road too.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 5 giu 2020 alle ore 14:04 John Landmesser via lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>As Example for Germany:</div>
<div><br>
</div>
<div><a href="https://wiki.freepascal.org/Daylight_saving_time/de" target="_blank">https://wiki.freepascal.org/Daylight_saving_time/de</a></div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Am 05.06.20 um 14:00 schrieb Francesco
Sammarco via lazarus:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Ok. But not so how to do it. Is there an example?</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Il giorno ven 5 giu 2020 alle
ore 13:54 wkitty42--- via lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a>>
ha scritto:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On
6/5/20 2:04 AM, Francesco Sammarco wrote:<br>
> Of course, it's just not the idea of how to check if the
time falls in daylight <br>
> saving time or not.<br>
<br>
<br>
why not? that is the problem and apparently the API and/or
backend code at <br>
google don't handle it so the creator of the event/appointment
must...<br>
<br>
<br>
> Il giorno gio 4 giu 2020 alle ore 17:24 wkitty42--- via
lazarus <br>
> <<a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a>
<mailto:<a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a>>>
ha scritto:<br>
> <br>
> On 6/4/20 10:37 AM, Francesco Sammarco via lazarus
wrote:<br>
> > If anyone cares I think I have found a working
way. Basically I do the<br>
> insertion<br>
> > or updating of the appointment. The API returns
the content of the newly<br>
> updated<br>
> > or inserted appointment, I compare the hours
contained with the hours I<br>
> wanted<br>
> > to set. I calculate the difference and apply
it. I make a second update<br>
> with the<br>
> > correct date / time. I know it's not elegant,
but for the moment it seems<br>
> the<br>
> > only working way.<br>
> <br>
> <br>
> can you not determine if your desired time is in the
daylight saving tim<br>
> eperiod<br>
> and adjust it as needed before you do the first
posting to the calendar? i was<br>
> going to suggest that yesterday when i first read of
your plight but i<br>
> wanted to<br>
> wait and see what others might suggest...<br>
> <br>
> so basically:<br>
> <br>
> 1. you decide your time and date...<br>
> 2. check if it is within the daylight saving time
period for your area...<br>
> 2a. if #2 is yes, adjust the time as needed...<br>
> 2b. if #2 is no, leave the time as originally set...<br>
> 3. publish the appointment/event in the calendar...<br>
> 4. done ;)<br>
> <br>
> <br>
> -- <br>
> NOTE: No off-list assistance is given without
prior approval.<br>
> *Please keep mailing list traffic on the
list where it belongs!*<br>
> -- <br>
> _______________________________________________<br>
> lazarus mailing list<br>
> <a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a>
<mailto:<a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a>><br>
> <a href="https://lists.lazarus-ide.org/listinfo/lazarus" rel="noreferrer" target="_blank">https://lists.lazarus-ide.org/listinfo/lazarus</a><br>
> <br>
<br>
<br>
-- <br>
NOTE: No off-list assistance is given without prior
approval.<br>
*Please keep mailing list traffic on the list where it
belongs!*<br>
-- <br>
_______________________________________________<br>
lazarus mailing list<br>
<a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a><br>
<a href="https://lists.lazarus-ide.org/listinfo/lazarus" rel="noreferrer" target="_blank">https://lists.lazarus-ide.org/listinfo/lazarus</a><br>
</blockquote>
</div>
<br>
<fieldset></fieldset>
</blockquote>
<p><br>
</p>
</div>
-- <br>
_______________________________________________<br>
lazarus mailing list<br>
<a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a><br>
<a href="https://lists.lazarus-ide.org/listinfo/lazarus" rel="noreferrer" target="_blank">https://lists.lazarus-ide.org/listinfo/lazarus</a><br>
</blockquote></div>