chronicle-app / chronicle-etl

📜 A CLI toolkit for extracting and working with your digital history
https://chronicle.app/
MIT License
149 stars 3 forks source link

--since and --until should support time ranges (from current) #32

Closed hyfen closed 2 years ago

hyfen commented 2 years ago

Examples:

--since 4d
--until 2y4m

Can use the ISO8601 duration spec without the T and uppercasing.

hyfen commented 2 years ago

https://api.rubyonrails.org/v5.2.1/classes/ActiveSupport/Duration.html#method-c-parse