rafaelveiga / obsidian-widgets

Add cool widgets to your notes or your dashboard in Obsidian
GNU General Public License v3.0
69 stars 6 forks source link

update(feat): countdown format (m,s,h) #28

Closed Rooyca closed 5 months ago

Rooyca commented 5 months ago

It seemed to me that the countdown widget could be improved by adding the format +n[s/m/h]. For example, to create a 5 minute counter we would use:

```widgets
type: countdown
date: +5m
to: Happy!
```

P.S. Very cool plugin.

rafaelveiga commented 5 months ago

Awesome contribution @Rooyca! I've tested and it seems to be working ok. This solves issue #23

Can you please update the README.md file so it also documents this as an option in the Countdown widget?

Rooyca commented 5 months ago

This solves issue #23

Yep, that issue was my inspiration jaja

Can you please update the README.md file so it also documents this as an option in the Countdown widget?

I'll try my best. Feel free to add or remove anything.

rafaelveiga commented 5 months ago

Thanks for the contribution. I'll merge this and include in the 0.0.9 release.