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

Add time and date in messages #117

Closed
3 tasks
e-azocar opened this issue Mar 30, 2022 · 1 comment · Fixed by #130
Closed
3 tasks

Add time and date in messages #117

e-azocar opened this issue Mar 30, 2022 · 1 comment · Fixed by #130
Assignees
Labels

Comments

@e-azocar
Copy link
Contributor

e-azocar commented Mar 30, 2022

Explication

In the original design, at chat view, each one of the messages has and image (dasher or user), text, and message's time. From database we receive updated_at, and we could use it to show date and time of messages.

Screenshots

image

Checklist

Describe the key points to complete the task. This points will help in the pull request test.

This issue can be closed when the following tasks are complete:

  • Add message date and time below
  • Show the time and date in a format understandable for humans, for example using:
new Date(updated_at).toLocalString("es-CO")
  • Add the correct styles for time and date

References

Figma design

https://www.figma.com/file/tbhMgDT10bbVjB9GazF97y/Dasher?node-id=771%3A593

Date object documentation

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString

@e-azocar e-azocar added the EE 2 label Mar 30, 2022
@arodriguezl9302
Copy link
Contributor

arodriguezl9302 commented Apr 4, 2022

I would like to be assigned to this task @katsu08 @e-azocar @Israel-Laguan

e-azocar added a commit that referenced this issue Apr 9, 2022
fix/#117 add time and date in messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants