If anyone cares I think I have found a working way. Basically I do the insertion or updating of the appointment. The API returns the content of the newly updated or inserted appointment, I compare the hours contained with the hours I wanted to set. I calculate the difference and apply it. I make a second update with the correct date / time. I know it's not elegant, but for the moment it seems the only working way.
Il giorno gio 4 giu 2020 alle ore 10:13 Michael Van Canneyt via lazarus < lazarus@lists.lazarus-ide.org> ha scritto: > > > On Thu, 4 Jun 2020, Francesco Sammarco wrote: > > > I tested this way. But not run correctly. Who is the Google API creator? > > Google of course. > > This is not a problem of the FPC API. > The API just tranfers data in a typesafe manner: > All it does is give you a way to create and interpret the JSON in a > typesafe manner. > > It does not know or care how Google interprets the data you send, this you > need to ask on Google forums or stackoverflow or somesuch. > > Michael. > -- > _______________________________________________ > lazarus mailing list > lazarus@lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus >
-- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus