chrono icon indicating copy to clipboard operation
chrono copied to clipboard

Support for parsing relative hours (quarter to, half past, etc)

Open hershkoy opened this issue 4 years ago • 2 comments

It would be really nice to support this. I am actually really need this feature, and if someone from the maintainers would like to help work on that, I will be willing to put the time to try to help and add it.

hershkoy avatar Aug 11 '21 20:08 hershkoy

Hello, sorry for my slow reply. Is this feature still useful for your usecase? Could you explain more details with more examples e.g. "half past six" = "6:30"? Or could you point me to the grammar reference?

wanasit avatar Sep 25 '21 02:09 wanasit

Yes, exactly what you said. "half past six" = 6:30 "quarter past six" = 6:15 "quarter to two" = 1:45 "5 past seven" = 7:05

hershkoy avatar Oct 06 '21 19:10 hershkoy