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

Fix time displayed under messages #6

Closed
ShivamMadlani opened this issue Oct 18, 2023 · 8 comments · Fixed by #8
Closed

Fix time displayed under messages #6

ShivamMadlani opened this issue Oct 18, 2023 · 8 comments · Fixed by #8
Assignees
Labels
bug Something isn't working good first issue Good for newcomers ui

Comments

@ShivamMadlani
Copy link
Owner

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:

  1. Timestamp Formatting:

    • Review the code responsible for rendering message timestamps.
    • Ensure that timestamps are consistently formatted and displayed in a user-friendly way.
  2. Real-Time Updates:

    • Implement a mechanism to update message timestamps in real-time.
    • Utilize appropriate libraries or technologies to achieve this.
  3. Testing:

    • Conduct thorough testing to confirm that the time display issue has been resolved.
    • Verify that timestamps are accurate and consistently displayed.

Additional Considerations:

  • Consider time zone handling to ensure that timestamps are displayed accurately for users in different time zones.
  • Address any related visual inconsistencies or alignment issues in the message display.

Labels:

  • bug
  • user interface
  • real-time updates
@ShivamMadlani ShivamMadlani added bug Something isn't working good first issue Good for newcomers ui labels Oct 18, 2023
@bhavik001
Copy link
Contributor

Hey @ShivamMadlani
Can you assign me this issue
I am interested in working on it.

@ShivamMadlani
Copy link
Owner Author

Go ahed

@bhavik001
Copy link
Contributor

Hey @ShivamMadlani
Can you please merge the pull request?

1 similar comment
@bhavik001
Copy link
Contributor

Hey @ShivamMadlani
Can you please merge the pull request?

@ShivamMadlani
Copy link
Owner Author

hey @bhavik001 left a code review... make the change and will merge

@bhavik001
Copy link
Contributor

Hey @ShivamMadlani
I have push the code. Let me know what I have to change. as I cannot see any review on the pull request.

@ShivamMadlani
Copy link
Owner Author

youll be able to see the review under ur pull request

@bhavik001
Copy link
Contributor

Hey
Now I have updated the file. Pleas take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers ui
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants