mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
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/11808
Author: @FarisHijazi
Created: 3/18/2025
Status: ✅ Merged
Merged: 3/18/2025
Merged by: @tjbck
Base:
dev← Head:dev📝 Commits (1)
eff1a23fixed 5682 dates not surviving importing📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/lib/utils/index.ts(+1 -1)📄 Description
FIXES #5682, FIXES #11773 Extremely simple fix: just replaced the frontend svelte code that does the importing. One of the keys were wrong, it was
convo['timestamp']instead ofconvo['create_time']Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.fixprefix as this resolves a bug.Changelog Entry
Description
Fixed an issue where chat dates were not being preserved when importing conversations. The bug was caused by accessing the wrong property name (
timestampinstead ofcreate_time) when mapping the imported chat data.Fixed
create_timeproperty instead oftimestampBreaking Changes
None
Additional Information
The fix addresses issue #5682 where imported chat dates were being lost. The root cause was that we were trying to access
convo['timestamp']but the data actually usesconvo['create_time']for the timestamp field. This small property name change ensures the dates are properly preserved during import.The change is minimal and only affects the chat import functionality. No other parts of the codebase are impacted.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.