不存在的日期的重复日期

发布于 2024-07-25 01:06:05 字数 257 浏览 3 评论 0原文

当提供每隔一定时间重复发生某事的选项时,我应该如何处理在每个时间间隔不重复发生的时间?

例如,2 月 29 日的生日提醒应该怎样处理? 或者,如果我每月约 31 日,那么在没有 31 日的月份中应该发生什么?

您认为理性的用户会期望什么并且最不感到惊讶

When giving the option for something to reoccur every certain amount of time how should I treat times that don't reoccur on every interval?

For example what should happen to birthday reminders for February 29th? Or if I have a monthly appointment on the 31st what should happen on months that do not have a 31st day?

What do you believe the reasonable user would expect and be least surprised by?

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

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

发布评论

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

评论(3

情绪少女 2024-08-01 01:06:05

我对这个问题的第一反应是让用户选择在该日期该做什么(转到第二天、跳过这一天等)。

但为了直接回答你的问题,我相信理性的用户对于“跳过”日前一天发生的事件最不会感到惊讶。

My first reaction to this question would be to give the user the option of what to do if it falls on that date (go to next day, skip the day, etc.).

But to directly answer your question, I believe the reasonable user would be least surprised by the occurrence falling on the day before the "skipped" day.

追风人 2024-08-01 01:06:05

我认为您可以很容易地标记这样的日期。 我能想到的唯一日期是每月的 29 日、30 日和 31 日,即 2 月 29 日。

当用户选择每月(或每年 2 月 29 日)提醒他们这些日期之一时,您可以提示他们选择这些月份的备用日期。

此外,您可以选择“在每月的最后一天”收到通知。

I'd think you would be able to flag dates like this pretty easily. The only dates I can think of are the 29th, 30th, and 31st of a month, or February 29th.

When the user opts to be reminded of one of these dates monthly (or annually for Feb. 29), you can prompt them for an alternate date for those months.

Additionally, you could have an option to be notified "on the last day of each month."

云之铃。 2024-08-01 01:06:05

理想情况下,在创建提醒时进行提示。

如果你被困住了,我会拉他们前进。 这是危害最小的选择。 您并不总是想要最小的惊喜,尽量减少做出错误选择的危害也很重要。

Ideally, prompt when creating the reminder.

If you are stuck with it, I would pull them forward. That's the least harmful choice. You don't always want the least surprise, minimizing the harm of making the wrong choice is also important.

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