spatie / period

Complex period comparisons
https://spatie.be/open-source
MIT License
1.55k stars 72 forks source link

Precision - Overlap by X minutes #83

Closed lsv closed 2 years ago

lsv commented 3 years ago

Would a overlap by X minutes be a good idea?

So this

2020-01-01 15:15:00 would overlap 2020-01-01 15:00:00

if Precision::MINUTE(15) was set, great for calendars I think.

brendt commented 3 years ago

That's an interesting idea! We could say the same for all kinds of precisions, not just minutes. I'll think about how we can implement this!

spatie-bot commented 2 years ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.

akalongman commented 2 years ago

Also interested in this feature