Re:Why are 2025/05/28 and 2025-05-28 different days in JavaS...
by rubslopes on Wednesday May 28, 2025 @07:46AM
(#44114927)
All solutions have problems, but I think UTC midnight is simpler than dealing with mixed date formats in the backend.
[ Parent
| on HN ]
Re:Why are 2025/05/28 and 2025-05-28 different days in JavaS...
by ivan_gammel on Wednesday May 28, 2025 @08:41AM
(#44115409)
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.