Skip to main content

current_weekday

Function current_weekday 

Source
pub fn current_weekday() -> u32
Expand description

The current local weekday as days-since-Monday (0 = Monday … 6 = Sunday). Matches the bit layout of Settings::work_days_mask so the work-window day check can index it directly.