Skip to main content

current_local_date_ymd

Function current_local_date_ymd 

Source
pub fn current_local_date_ymd() -> String
Expand description

Return the current local date as YYYY-MM-DD using the platform date command, falling back to unknown-date when it is unavailable.

Archive headings historically used local operator dates, not UTC log dates. Keep that behavior here without adding a chrono dependency.