# 在活动编辑器中输入结束时间会重置为13:30

**URL:** <https://meta.discourse.org/t/typing-the-end-hour-in-the-event-composer-resets-it-to-13-30/419123>\
**Category:** Bug\
**Created:** [2026 年12 月 4 日 10:06 UTC](https://meta.discourse.org/t/typing-the-end-hour-in-the-event-composer-resets-it-to-13-30/419123 "2026-12-04T10:06:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![dmorlock](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@dmorlock](https://meta.discourse.org/u/dmorlock)\
发布日期： [2026 年12 月 4 日 10:06 UTC](https://meta.discourse.org/t/typing-the-end-hour-in-the-event-composer-resets-it-to-13-30/419123/1 "2026-12-04T10:06:06Z")

</div>

我正在使用带有 Discourse Events v0.5.0 的 Chrome 浏览器。在活动编辑器中，我将开始时间设置为同一天的 12:30，结束时间设置为 13:30。

1. 点击结束时间的小时部分并输入 `16`。字段仍然显示 `13:30`。
2. 使用上箭头将其更改为 `18:30`。这样可以正常工作。
3. 再次点击小时部分并输入 `14`。我期望得到 `14:30`，但它跳回了 `13:30`。

结束时间的更改处理程序调用了 `adjustedRangeEnd`，该函数会将小于或等于开始时间的结束时间重置为开始时间后一小时。这个检查是否可能在输入第一个数字后、我还没输入完小时数字之前就运行了？

---

_[View the full topic](https://meta.discourse.org/t/typing-the-end-hour-in-the-event-composer-resets-it-to-13-30/419123)._
