-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fix time displayed under messages #6
Comments
Hey @ShivamMadlani |
Go ahed |
Hey @ShivamMadlani |
1 similar comment
Hey @ShivamMadlani |
hey @bhavik001 left a code review... make the change and will merge |
Hey @ShivamMadlani |
youll be able to see the review under ur pull request |
Hey |
Issue Title: Fix Time Display Under Messages
Issue Description:
Problem:
Currently, the time displayed under messages in our application is not being rendered correctly. This issue is created to track the resolution of the time display problem.
Proposed Solution:
We need to address the issues with time display under messages and ensure that the timestamps are accurate and consistent.
Proposed approach
We could use an inbuilt object of javascript i.e. Date() to find out current day and time. We can then subtract the date at which message was sent to find the difference and display appropriately how many days ago a message was sent. i.e. yesterday or monday etc.
Tasks:
Timestamp Formatting:
Real-Time Updates:
Testing:
Additional Considerations:
Labels:
The text was updated successfully, but these errors were encountered: