[pmg-devel] [PATCH v2 pmg-log-tracker 1/5] rfc3339: move timezone offset compatibility code to old time parser
Mira Limbeck
m.limbeck at proxmox.com
Tue Feb 20 10:37:57 CET 2024
> @@ -1787,7 +1787,11 @@ impl Parser {
> line,
> self.current_year,
> self.current_month,
> - self.timezone_offset,
> + // use start time for timezone offset in parse_time_no_year rather than the
> + // timezone offset of the current time
> + // this is required for cases where current time is in standard time, while start
> + // time is in summer time or the other way around
> + self.start_tm.tm_gmtoff,
> ) {
forgot to change this when checking the files if they're within the
start and end time. after changing this, we can get rid of the
timezone_offset member in the parser completely.
I'll send a v3 with this change
More information about the pmg-devel
mailing list