Hi, I'm trying to use croncpp and it looks very good. The only issue I see is with time_t input and timezone.
For example if I call setenv to use TZ as Europe/Rome, then I call the time_t function with current timestamp, a cron string like "*/5 * * * * *" gives a next_time in the past.
The problem is that the function takes a UTC time_t as input and then converts it as if it was a local time.
Hi, I'm trying to use croncpp and it looks very good. The only issue I see is with time_t input and timezone.
For example if I call setenv to use TZ as Europe/Rome, then I call the time_t function with current timestamp, a cron string like "*/5 * * * * *" gives a next_time in the past.
The problem is that the function takes a UTC time_t as input and then converts it as if it was a local time.