Hacker News new | ask | show | jobs
by ufo 1589 days ago
My guess is the UI uses dates but the database backend stores it as a time or unix timestamp.
1 comments

But that would have been fine, they know the UI uses dates only. Even if you store as a time stamp you can pull out just the year, month day. Compare as normal.

These guys are comparing things that they know is a date only with something that needs a time stamp.

> Even if you store as a time stamp you can pull out just the year, month day.

In general, you need a timezone for that.