[PR #2777] overview: fix filter today calc start & end #23830

Closed
opened 2026-02-21 20:21:50 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/2777

State: closed
Merged: Yes


Description

This pull request addresses a bug in the "Overview" section where the filter for "Today" incorrectly calculates the start and end of the day. This fix ensures that the "Today" filter accurately reflects the data for the current day, from the start to the end of the day. This is critical for users relying on accurate daily data visualizations and analytics within the application.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • The changes have been tested locally to ensure the "Today" filter now correctly encompasses the entire day, from 00:00 to 23:59. Further testing will be required to validate the changes across different time zones and scenarios.

Suggested Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
**Original Pull Request:** https://github.com/langgenius/dify/pull/2777 **State:** closed **Merged:** Yes --- # Description This pull request addresses a bug in the "Overview" section where the filter for "Today" incorrectly calculates the start and end of the day. This fix ensures that the "Today" filter accurately reflects the data for the current day, from the start to the end of the day. This is critical for users relying on accurate daily data visualizations and analytics within the application. ## Type of Change - [x] Bug fix (non-breaking change which fixes an issue) # How Has This Been Tested? - [x] The changes have been tested locally to ensure the "Today" filter now correctly encompasses the entire day, from 00:00 to 23:59. Further testing will be required to validate the changes across different time zones and scenarios. # Suggested Checklist: - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] My changes generate no new warnings
yindo added the pull-request label 2026-02-21 20:21:50 -05:00
yindo closed this issue 2026-02-21 20:21:50 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#23830