Displaying time and timezone information to the user (what, not how)

后端 未结 13 1711
予麋鹿
予麋鹿 2020-12-31 17:13

(This is a question about the UI rather than the technology required to do it)

What is the clearest way to display a time for events occurring in different timezones

13条回答
  •  情书的邮戳
    2020-12-31 17:53

    best thing to do is to store all date/time information in UTC and then display times offset to the users time. .NET has all kinds of support for this - most other environments do too for that matter. someone entering data in London at 7am should show as 1am or 2am EDT. best part about UTC is that it avoids all te screwy things with daylight savings times or lack thereof when you are in places that dont have it eg. korea, india vs the new offsets for North America.

    I like the 24h time such as 15:30 EDT but I am sure there are those out there that work in 12H mode. make that an option for sure.

提交回复
热议问题