eza
eza copied to clipboard
feat: support relative recent time style
I propose a new --time-style relative-recent.
Motivation
I care if I am making changes to files in the current week. And I am more careful with files if this goes beyond the current week. eza currently doesn't provide a style to provide a relative time format & absolute time format based on a cut-off.
New behavior
Where in a week (7 days), eza uses --time-style relative.
When a date goes beyond a week, eza uses --time-style iso.
The current eza only supports "--time-style relative" or "--time-style iso".
Future Work
eza provides a configuration for --time-style relative:
cut_off: 7 days by defaultstyle: relativeaway_style: iso
Happy to contribute this.