]> git.proxmox.com Git - pmg-log-tracker.git/commit
fix logfile counting in months != january
authorStoiko Ivanov <s.ivanov@proxmox.com>
Tue, 1 Feb 2022 09:48:52 +0000 (10:48 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 1 Feb 2022 12:29:26 +0000 (13:29 +0100)
commit17ec304fea881c9fcd3bb1952eeb005440abb6f1
treea4feb03adff6730fb90f3f20e245579d582cde5e
parentb24a352a5daa92406d5a17ae7bb65f9e56dfb04d
fix logfile counting in months != january

the changes introduced in 1cdbebe57b2ddc255db240d7dbaf2165c482986d

changed the date handling to have current_month and current_year
represent the month and year at time of invocation.
This change was not carried over to the logfile collecting, which set
the current month to january.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Tested-by: Aaron Lauterer <a.lauterer@proxmox.com>
Reviewed-by: Mira Limbeck <m.limbeck@proxmox.com>
src/main.rs