twilio / twilio-conversations-demo-react

Twilio Conversations Demo Web Application
MIT License
96 stars 295 forks source link

feat: Add user-friendly timestamps and date separation #128

Closed lesquive closed 10 months ago

lesquive commented 10 months ago

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

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:

image

After:

image

image

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.