I have a background program running in Terminal. It does various "housekeeping" things for me.
One of the things is to initiate a Time Machine backup at specific times, currently set for noon (12:00*) and evening (18:00).
Today marks the first day of DST for the year and I noticed that:
1) The TM backup occurred at 13:00 rather than 12:00
2) The displayed time in the program is lagging by 1 hour. That is to say, when it posts an event, the time is 1 hour behind the actual time that the system displays.
The function I use to check if it is time to start a function is the "now" function (returning a TDateTime).
So - it appears that this function is flawed in that it doesn't account for DST changing while a program is active. The description of the now function is:
"Returns the current date and time."
https://www.freepascal.org/docs-html/rtl/sysutils/now.html
( MacOS 15.3.1, iMac M3,
Free Pascal Compiler version 3.2.2 [2021/05/16] for aarch64)
Remedy for now is to re-start the housekeeping program.
[I suppose I could program that in as well (if the program halts, then a "watch" program that is running will restart it). So I could re-start the program on the DST change day.]_____________________________________________________
*While above I use specific times, it's actually in the period after the time above, where the function is running about 1 per minute, so the backup could start at (say) 12:00:35.234 .