mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #1586] [MERGED] Fixed malformed date string (again) #59572
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/1586
Author: @Fusseldieb
Created: 4/17/2024
Status: ✅ Merged
Merged: 4/17/2024
Merged by: @tjbck
Base:
dev← Head:patch-1📝 Commits (2)
8517547Merge pull request #1555 from open-webui/devb5372bfFixed malformed date string📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/lib/i18n/locales/pt-BR/translation.json(+1 -1)📄 Description
Pull Request Checklist
Description
Fixed another malformed date string. This one was present in the Admin Panel.
Also, I took some liberty and adapted it to
DD/MM/YYYYinstead ofMMMM DD, YYYY.Reason being is that the months are displayed in English regardless of the language set in the UI (and/or the browser), so, in portuguese, the old format would make very little sense, as, for instance, it would appear as "13 de March de 2024" instead of "13 de março de 2024".
So, in order to fix the issue without translating the date parser, I've changed the format.
Built from source, and it fixes the issue above.
Changelog Entry
Fixed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.