neilgupta / Sherlock

Natural-language event parser for Javascript
https://sherlock.neil.gg
MIT License
532 stars 32 forks source link

`hr` & `hrs` don't work. meanwhile `min`, `mins`, `sec` & `secs` work. #32

Closed deadcoder0904 closed 3 years ago

deadcoder0904 commented 3 years ago

I just checked the demo site. hr & hrs don't work. I think it's pretty common :)

neilgupta commented 3 years ago

h was supported, but I've added support for hr and hrs as well now 👍

deadcoder0904 commented 3 years ago

Thank you @neilgupta. I wasn't using this library yet but the app I'm using Typefully.app used it & it wasn't working on that.

Will definitely be using this thing in my next project. Really cool project 🔥🔥🔥

linuz90 commented 3 years ago

Hey, Typefully founder here. The npm packed isn't still updated with this right?

neilgupta commented 3 years ago

@linuz90 sorry this totally fell off my list. It's a bit late, but just pushed the updated version to npm 👍