bitSheriff / dunst-timer

A timer which is displayed as a dunst notification
MIT License
7 stars 0 forks source link

Better Time Parsing #2

Closed bitSheriff closed 1 week ago

bitSheriff commented 1 week ago

It should be possible to interpret mixed time units (seconds, minutes, hours)

24h Style 00:05 -> 5 seconds 00:05:00 -> 5 minutes

ISO8601 Style 5m6s -> 5 minutes, 6 seconds 1h8s -> 1 hour, 8 seconds 6h8m -> 6 hours, 8 minutes 90m -> 1 hour, 30 minutes