Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rubslopes
9 months ago
|
parent
|
context
|
favorite
| on:
Why are 2025/05/28 and 2025-05-28 different days i...
All solutions have problems, but I think UTC midnight is simpler than dealing with mixed date formats in the backend.
ivan_gammel
9 months ago
[–]
It’s 2025 and major backend stacks have domain-specific time types like LocalDate etc. Using them is the only correct and actually the simplest solution.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: