[GH-ISSUE #5354] Incorrect Date Format in created_at and updated_at Columns in chat Table in webui.db #13952

Closed
opened 2026-04-19 20:28:48 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @Genai-labs on GitHub (Sep 11, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/5354

Bug Report

Installation Method

Docker

Environment

  • Open WebUI Version: v0.3.21
  • Operating System: [Windows 10]

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

The created_at and updated_at columns in the chat table should contain the correct timestamps for the creation and last update of a conversation.

Actual Behavior:

The created_at and updated_at columns in the chat table store an incorrect default date value: 01/01/0001 00:00:00. This issue affects all entries, and the columns do not get updated with the correct timestamps.

Description

Bug Summary:
The created_at and updated_at columns in the chat table of the webui.db database are not properly capturing the creation and update timestamps. Instead, they display the value 01/01/0001 00:00:00 for all entries. This issue persists across all conversations stored in the database.

Reproduction Details

Steps to Reproduce:

  1. Install the Open WebUI project using Docker.
  2. Run the application and initiate several conversations.
  3. Inspect the webui.db database and navigate to the chat table.
  4. Observe the created_at and updated_at columns, which display 01/01/0001 00:00:00 for each entry.

Logs and Screenshots

Screenshots/Screen Recordings (if applicable):

Chat_Date

Originally created by @Genai-labs on GitHub (Sep 11, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/5354 # Bug Report ## Installation Method Docker ## Environment - **Open WebUI Version:** v0.3.21 - **Operating System:** [Windows 10] **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on the latest version of both Open WebUI and Ollama. - [ ] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: The created_at and updated_at columns in the chat table should contain the correct timestamps for the creation and last update of a conversation. ## Actual Behavior: The created_at and updated_at columns in the chat table store an incorrect default date value: 01/01/0001 00:00:00. This issue affects all entries, and the columns do not get updated with the correct timestamps. ## Description **Bug Summary:** The created_at and updated_at columns in the chat table of the webui.db database are not properly capturing the creation and update timestamps. Instead, they display the value 01/01/0001 00:00:00 for all entries. This issue persists across all conversations stored in the database. ## Reproduction Details **Steps to Reproduce:** 1) Install the Open WebUI project using Docker. 2) Run the application and initiate several conversations. 3) Inspect the webui.db database and navigate to the chat table. 4) Observe the created_at and updated_at columns, which display 01/01/0001 00:00:00 for each entry. ## Logs and Screenshots **Screenshots/Screen Recordings (if applicable):** ![Chat_Date](https://github.com/user-attachments/assets/683dd851-8ca0-4b84-999b-b59336d28b84)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#13952