DEV Community

loading...

Discussion on: Dates are hard folks

Collapse
kallmanation profile image
Nathan Kallman

User: Why does it show this event happened on a different date when I know it happened on X
Me: Because the event is recorded according to their timezone; which being close to midnight here, the time difference means they are on a different date.
User: Shouldn't it still show the same date though? It happened on X. I thought timezones only change the time.
Me: No... that's not how dates work...