Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Exactly.

Making "notBefore" inclusive but "notAfter" exclusive is inconsistent and IMHO confusing. If the end time should be exclusive then it should be called "until" instead of "notAfter".



It's only confusing because you interpret notBefore and notAfter as one-second time intervals when they really should be instants at the start of that second.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: