Skip to main content

bucket_label

Function bucket_label 

Source
pub fn bucket_label(
    point: &DocDiffTimelinePoint,
    now: DateTime<Local>,
) -> String
Expand description

Bucket label for a single point relative to now: "Working tree" for worktree points, else "Today" / "Yesterday" / "Earlier".