UI设计:在同一日历上显示不同时区的事件

发布于 2024-09-18 23:53:21 字数 721 浏览 2 评论 0原文

我想在日历上为我的网络服务客户显示事件。关于这些事件的时区,有四种可能的情况:

  1. 事件是客户本地的并且位于同一时区。例如,与当地企业的会议。
  2. 活动实际位于与客户不同的时区,但它是“虚拟”活动,客户将在自己的时区参加活动。例如,客户可能想观看通过互联网直播的音乐会,但音乐会在世界其他地方。
  3. 这是一个纯粹虚拟的活动,所有与会者都将在自己的时区体验它。例如,电话会议。
  4. 活动与客户处于不同的时区,但客户将亲自前往该地点参加活动。例如,他们正在参加的另一个州的会议。

更复杂的是,我的服务将通过电子邮件或短信发送这些事件的提醒。我想这实际上并不难——在实际地点时间前一小时向参加该活动的每个人发送 1 小时提醒。每个人都会在相同的 UTC 时间获得它,但他们的当地时间可能会有所不同。

因为我的用户将会旅行,所以他们可能不会位于单一时区。那么我是否需要根据他们当前的 IP 号码或 HTML5 地理位置不断更改他们日历上的活动时间?如果下午 4 点的活动现在显示在用户日历上的下午 2 点,这不会让用户感到困惑吗?

是否有显示这些时区复杂性的最佳实践?

这个SO问题类似,但它并没有真正涉及如何处理旅行用户以及我的问题的其他方面。

I'd like to show events on a calendar for my web service's customers. There are four scenarios possible in regards to timezones for these events:

  1. An event is local to the customer and is in the same timezone. For example, a meeting with a local business.
  2. An event is physically located in a different timezone than the customer, but it is a "virtual" event and the customer will be attending it in their own timezone. For instance, the customer may want to watch a concert streamed live over the internet, but the concert is somewhere else in the world.
  3. An event it purely virtual, and all attendants will be experiencing it from their own timezone. For instance, a conference call.
  4. An event is in a different timezone than the customer, but the customer will be physically travelling to that location to attend the event. For instance, a conference in another state that they are attending.

To complicate things more, my service is going to send reminders via email or text of these events. I suppose this actually isn't hard -- a 1 hour reminder would be sent to everyone attending that event one hour before the time at the physical location. Everyone will get it at the same UTC time, but their local times might be different.

Because my users will be travelling, they will probably not be in a single timezone. So do I constantly change the times of their events on their calendars based on their current IP number or HTML5 geo location? Won't this confuse the users if an event that was at 4PM now shows at 2PM on their calendar?

Are there any best practices for displaying these timezone complexities?

This SO question is similar, but it doesn't really get into how to deal with travelling users and other aspects of my question.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

笔落惊风雨 2024-09-25 23:53:21

作为用户,我总是欢迎看到在我当前时区显示的事件。我还希望能够在创建活动时指定时区。在我正在使用的 Google 日历中,这是不可能的,当我安排会议电话或与不同时区的参与者进行其他活动时,此功能将非常有用。

关于 UI,请考虑这一点:

  • 在视觉上区分“本地”时区与用户当前时区不同的事件;因此,旅行者将看到哪些事件正在他的时区发生(很可能在物理上靠近他的位置)以及哪些事件发生在不同的时区;
  • 对于虚拟事件,另一个表明不需要实际存在的视觉提示可能会有所帮助;
  • 允许用户在日历 UI 中显示多个时区的时间刻度;例如,Google 日历允许两个,如果您的业务频繁发生在多个时区,这通常是不够的。

As a user, I would always welcome seeing events show in my current timezone. I would also love to be able to specify the timezone when creating an event. In Google Calendar, which I'm using, this is not possible and when I'm scheduling a conf call or whatever with participants in a different timezone, this feature would be very useful.

Regarding the UI consider this:

  • visually distinguish events whose 'native' timezone differs from the user's current timezone; hence, the traveler will see which events are happening in his timezone (most likely physically close to his position) and which in a different timezone;
  • regarding virtual events, another visual cue indicating there's no physical presence required might be helpful;
  • allow the user to display time scales for multiple timezones in your calendar UI; for example, Google Calendar allows two, and this is usually not enough if your business happens in several timezones frequently.
尛丟丟 2024-09-25 23:53:21

如果我是你,我不会根据用户的物理位置来更改时区。

您看,我的看法是(假设我是您服务的用户):我在手机或笔记本电脑上设置了一些时间。我看到预定的会议。我期望的是,事件上显示的时间与我的媒介设置相关,而不是与我的物理位置相关。这样我就知道还剩多少分钟/小时/天。

顺便提一句。根据我的特定区域设置格式化日期和时间也很重要,因此我不必猜测 11/09/10 是否意味着 2010 年 9 月 11 日或 2010 年 11 月 9 日,甚至2011 年 9 月 10 日。

If I were you, I wouldn't go to changing time zone based on user's physical location.

You see, the way I see it is (let's assume I am a user of your service): I've got some time set on my mobile phone or a laptop. I see a scheduled meeting. What I expect is, the time shown on the event is related to my medium settings as oppose to my physical location. That way I would know how many minutes/hours/days are left.

BTW. It is also important to format dates and times according to my specific locale, so I won't have to guess if 11/09/10 means 11 day of September 2010 or 9 day of November 2010 or even September 10, 2011.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文