Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tr33house
on Feb 29, 2024
|
parent
|
context
|
favorite
| on:
Ask HN: Did you encounter any leap year bugs today...
I had a few [datetime].replace(year=[current year]+n) in python where n is not divisble by 4 e.g. 2,10
This is in code we use for scheduling
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
This is in code we use for scheduling