<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">As Example for Germany:</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><a
href="https://wiki.freepascal.org/Daylight_saving_time/de">https://wiki.freepascal.org/Daylight_saving_time/de</a></div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Am 05.06.20 um 14:00 schrieb Francesco
Sammarco via lazarus:<br>
</div>
<blockquote type="cite"
cite="mid:CAFu2LUWrVQdh0M+-310vSkMv=DnRGSH-9LBb-Fe0rH7OgUn=fg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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"
moz-do-not-send="true">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" moz-do-not-send="true">lazarus@lists.lazarus-ide.org</a>
<mailto:<a href="mailto:lazarus@lists.lazarus-ide.org"
target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">lazarus@lists.lazarus-ide.org</a>
<mailto:<a href="mailto:lazarus@lists.lazarus-ide.org"
target="_blank" moz-do-not-send="true">lazarus@lists.lazarus-ide.org</a>><br>
> <a
href="https://lists.lazarus-ide.org/listinfo/lazarus"
rel="noreferrer" target="_blank" moz-do-not-send="true">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"
moz-do-not-send="true">lazarus@lists.lazarus-ide.org</a><br>
<a href="https://lists.lazarus-ide.org/listinfo/lazarus"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.lazarus-ide.org/listinfo/lazarus</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
<p><br>
</p>
</body>
</html>