(01-15-2019, 07:25 AM)jollytall Wrote: As you first suggested, I tried, but could not make it work with localtime_r() as it keeps missing declarations, localtime_r(), TUnixTime. If understood correctly they should be in LibC (deprecated), but could not link it. I did not find it in my platform in RTL.
Sorry, I can't help with that. I am not a FreePascal user. I know localtime_r() is declared in timeh.inc, but I don't know what unit uses that include file.
(01-15-2019, 07:25 AM)jollytall Wrote: The old bugs you mentioned were fixed in FPC
OK, good to know.