mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #19305] [MERGED] fix: format date according to DEFAULT_LOCALE in chat search #64027
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/19305
Author: @dannyl1u
Created: 11/20/2025
Status: ✅ Merged
Merged: 11/21/2025
Merged by: @tjbck
Base:
dev← Head:fix/date-locale/searchchats📝 Commits (2)
2ed3a4dfix: localized format87df50fload default_locale from backend📊 Changes
4 files changed (+23 additions, -2 deletions)
View changed files
📝
src/lib/components/layout/ChatsModal.svelte(+10 -1)📝
src/lib/components/layout/SearchModal.svelte(+10 -1)📝
src/lib/dayjs.js(+1 -0)📝
src/routes/+layout.svelte(+2 -0)📄 Description
Pull Request Checklist
Changelog Entry
Description
Added
en-gblocale to $lib/dayjs based on user requestChanged
Deprecated
Removed
Fixed
DEFAULT_LOCALE='en-gb', then date will be formatted as DD/MM/YYYYSecurity
Breaking Changes
Additional Information
-Admin Settings -> User Chat Search modal.
The changes ensure that both use DEFAULT_LOCALE for date formatting. Further investigation will identify and correct any additional occurrences of improper date formatting in future PRs, once this solution is validated
Screenshots or Videos
The following have
DEFAULT_LOCALE='en-gb'Chat Search

Admin Settings -> Users -> Chat Search

Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.