[DragonFlyBSD - Bug #2526] hammer cleanup doesn't run on first day of DST
sigttou
bugtracker-admin at leaf.dragonflybsd.org
Wed Oct 7 21:43:39 PDT 2026
Issue #2526 has been updated by sigttou.
File 0001-hammer-compare-local-calendar-days.patch added
The attached patch compares local calendar dates for whole-day cleanup periods, without subtracting their daylight-saving offsets. Consecutive local dates then count as one day even when the intervening day has only 23 hours.
The shorter periods keep their existing mktime calculation.
----------------------------------------
Bug #2526: hammer cleanup doesn't run on first day of DST
http://bugs.dragonflybsd.org/issues/2526#change-14813
* Author: pavalos
* Status: New
* Priority: Normal
* Category: Userland
* Target version: 6.4
* Start date: 2013-03-10
----------------------------------------
The logic in check_period() will compute to 23 hrs. going from standard time to daylight saving time, so if the period is 1d, hammer cleanup will skip for the day.
---Files--------------------------------
0001-hammer-compare-local-calendar-days.patch (1.14 KB)
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list