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

One case I can imagine is if the authors of law/rules that the code tries to implement were trying to be clever and defined the specific way this edge case needs to be handled. In such situation developer is likely forced to do some manual logic instead of the straight forward whatever happens when offsetting timestamp by 365 days using time library.


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

Search: