[PR #8946] [MERGED] feat: Localized dates and times #9092

Closed
opened 2025-11-11 18:13:53 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/8946
Author: @zeroxs
Created: 1/26/2025
Status: Merged
Merged: 1/27/2025
Merged by: @tjbck

Base: devHead: feat/localize-dates


📝 Commits (1)

  • dda945f feat: Localized dates and times

📊 Changes

11 files changed (+36 additions, -17 deletions)

View changed files

📝 src/lib/components/admin/Users/UserList.svelte (+3 -1)
📝 src/lib/components/admin/Users/UserList/EditUserModal.svelte (+3 -1)
📝 src/lib/components/admin/Users/UserList/UserChatsModal.svelte (+3 -1)
📝 src/lib/components/channel/Messages/Message.svelte (+5 -3)
📝 src/lib/components/chat/Messages/MultiResponseMessages.svelte (+3 -1)
📝 src/lib/components/chat/Messages/ResponseMessage.svelte (+1 -1)
📝 src/lib/components/chat/Messages/UserMessage.svelte (+3 -1)
📝 src/lib/components/chat/Settings/Personalization/ManageModal.svelte (+3 -3)
📝 src/lib/components/layout/Sidebar/ArchivedChatsModal.svelte (+4 -1)
📝 src/lib/utils/index.ts (+5 -3)
📝 src/routes/s/[id]/+page.svelte (+3 -1)

📄 Description

Changelog Entry

Description

Adds localization functionality to dates and times when using dayjs.

Changed

  • Dates in various locations formats changed to localized options utilizing dayjs localizedFormat plugin

Screenshots or Videos

Today:
image
Yesterday:
image
All else:
image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/8946 **Author:** [@zeroxs](https://github.com/zeroxs) **Created:** 1/26/2025 **Status:** ✅ Merged **Merged:** 1/27/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `feat/localize-dates` --- ### 📝 Commits (1) - [`dda945f`](https://github.com/open-webui/open-webui/commit/dda945f4ad0c1482fd3ac0e8e55f7817b50ffaf4) feat: Localized dates and times ### 📊 Changes **11 files changed** (+36 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/admin/Users/UserList.svelte` (+3 -1) 📝 `src/lib/components/admin/Users/UserList/EditUserModal.svelte` (+3 -1) 📝 `src/lib/components/admin/Users/UserList/UserChatsModal.svelte` (+3 -1) 📝 `src/lib/components/channel/Messages/Message.svelte` (+5 -3) 📝 `src/lib/components/chat/Messages/MultiResponseMessages.svelte` (+3 -1) 📝 `src/lib/components/chat/Messages/ResponseMessage.svelte` (+1 -1) 📝 `src/lib/components/chat/Messages/UserMessage.svelte` (+3 -1) 📝 `src/lib/components/chat/Settings/Personalization/ManageModal.svelte` (+3 -3) 📝 `src/lib/components/layout/Sidebar/ArchivedChatsModal.svelte` (+4 -1) 📝 `src/lib/utils/index.ts` (+5 -3) 📝 `src/routes/s/[id]/+page.svelte` (+3 -1) </details> ### 📄 Description # Changelog Entry ### Description Adds localization functionality to dates and times when using dayjs. ### Changed - Dates in various locations formats changed to localized options utilizing dayjs `localizedFormat` plugin --- ### Screenshots or Videos Today: ![image](https://github.com/user-attachments/assets/fcc498fb-beaf-40ed-a857-533a6d2c96e2) Yesterday: ![image](https://github.com/user-attachments/assets/41149c56-7564-4b0c-9692-0a9b8e71bcb1) All else: ![image](https://github.com/user-attachments/assets/5a4e89ae-65af-4f2f-a046-b06ccb0844a1) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 18:13:53 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#9092