This pull request introduces a new src/utils folder that centralizes time-related functions, enhancing code organization and maintainability. These utility functions help manage timestamps and provide a more consistent experience across the application.
Changes Made
Moved time-related functions to the new src/utils folder.
Implemented a user-friendly timestamp format for conversation messages, improving readability and user experience.
Messages are now separated by date, allowing users to easily identify when messages were sent.
Enabled an option in the User Profile that lets you choose between 12-hour and 24-hour timestamp formats.
These changes improve the overall user experience by making message timestamps more user-friendly and organized. The centralization of time functions enhances code structure and maintainability.
Before:
After:
All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.
[ x] I acknowledge that all my contributions will be made under the project's license.
Pull Request Description
This pull request introduces a new
src/utils
folder that centralizes time-related functions, enhancing code organization and maintainability. These utility functions help manage timestamps and provide a more consistent experience across the application.Changes Made
src/utils
folder.These changes improve the overall user experience by making message timestamps more user-friendly and organized. The centralization of time functions enhances code structure and maintainability.
Before:
After: