Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed a bug about conversation dates #1910

Merged
merged 3 commits into from
Mar 11, 2024
Merged

Conversation

JoeABCDEF
Copy link
Contributor

Fixed the issue of inconsistent date creation, if the running server and the database are in different regions, the generated date will be inconsistent, and the generated date will be inconsistent

…and the database are in different regions, the generated date will be inconsistent, and the generated date will be inconsistent
@HenryHengZJ
Copy link
Contributor

hmm I'm not sure if we need to do this since the date is automatically generated when a record is created in database - https://github.com/FlowiseAI/Flowise/blob/main/packages/server/src/database/entities/ChatMessage.ts#L44

@JoeABCDEF
Copy link
Contributor Author

hmm I'm not sure if we need to do this since the date is automatically generated when a record is created in database - https://github.com/FlowiseAI/Flowise/blob/main/packages/server/src/database/entities/ChatMessage.ts#L44

Yes, the database automatically generates dates, but there is a catch, if the database is not on the same machine as the one running the code, or if there is a problem with the date on the machine of the database, then the chat may produce an exception, because I have this problem, I want to generate the date in one place

@HenryHengZJ
Copy link
Contributor

@JoeABCDEF can you pull the latest changes from main so we can have this bugfix to let the CI run successfully

@JoeABCDEF
Copy link
Contributor Author

@HenryHengZJ I re-pulled

@HenryHengZJ HenryHengZJ merged commit 33eb72f into FlowiseAI:main Mar 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants