mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 23:21:44 -05:00
[PR #9767] [CLOSED] feat: localize dates #61272
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/9767
Author: @JoeSlain
Created: 2/10/2025
Status: ❌ Closed
Base:
dev← Head:localize-time📝 Commits (1)
129ef50feat: localize dates📊 Changes
4 files changed (+38 additions, -9 deletions)
View changed files
📝
src/lib/components/admin/Users/UserList.svelte(+1 -1)📝
src/lib/dayjs.js(+22 -0)📝
src/lib/utils/index.ts(+6 -8)📝
src/routes/+layout.svelte(+9 -0)📄 Description
Pull Request: feat: localize dates
Description
Implements comprehensive date localization support across the application by centralizing dayjs configuration and adding locale-aware date formatting.
Added
src/lib/dayjs.jsupdateDayjsLocalefunction to handle locale changesisToday,isYesterdayChanged
formatDateutility to provide more natural relative time expressionsFixed
Additional Information
Checklist
devbranch🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.