# Discourse AI 관리자 사용량 페이지 - 사용자 지정 날짜 범위 문제

**URL:** https://meta.discourse.org/t/discourse-ai-admin-usage-page-custom-date-range-issues/378959
**Category:** Bug
**Tags:** ai, fixed
**Created:** [8월 17, 2025, 10:54오후 UTC](https://meta.discourse.org/t/discourse-ai-admin-usage-page-custom-date-range-issues/378959 "2025-08-17T22:54:07Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![keegan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keegan/32/383395_2.png) [@keegan](https://meta.discourse.org/u/keegan)
#### Post date: [9월 16, 2025, 6:48오후 UTC](https://meta.discourse.org/t/discourse-ai-admin-usage-page-custom-date-range-issues/378959/4 "2025-09-16T18:48:51Z")

</div>

🎉 다음 시점부터 이 문제가 해결되었어야 합니다:

> <https://github.com/discourse/discourse/pull/34816>
>
> \## :mag: Overview 
> Fixes custom date range functionality in AI usage admin page… where:
> - Users experienced visual glitches when selecting dates
> - Date picker would show incorrect dates after refresh
> - Users had to refresh multiple times to get correct date range
> 
> \*\*Changes:\*\*
> - Added fromDate/toDate getters with fallback logic for preview functionality
> - Updated DateTimeInputRange to use preview-aware getters
> - Clear temporary dates after refresh to prevent stale state
> - Added system test to prevent regression
> 
> The date picker now immediately shows selected dates (preview) and
> maintains correct values after refresh, eliminating user confusion.
> 
> This addresses the exact issue reported in \[the meta topic\](https://meta.discourse.org/t/discourse-ai-admin-usage-page-custom-date-range-issues/378959) and provides a clean solution with test coverage to prevent regression.

---

_[View the full topic](https://meta.discourse.org/t/discourse-ai-admin-usage-page-custom-date-range-issues/378959)._
