MatheusrdSantos / vue-quick-chat

A simple chat component created with Vue.js
MIT License
128 stars 45 forks source link

Add message date #33

Closed zayda3 closed 4 years ago

zayda3 commented 4 years ago

Hello,

Currently it is possible to see the time when the message was sent, instead the sending date cannot be displayed. I think it is, in case it is not currently possible, an interesting improvement.

Thank you.

vonec commented 4 years ago

+1 instead of just displaying time alone ( which might be confusing with similar time from previous dates) we can use time ago or human-readable format :), it can also have an optional key on the messages something like timestamp_custom which can override the default setting

vonec commented 4 years ago

https://github.com/MatheusrdSantos/vue-quick-chat/pull/35 added a pr hope that would get merged

MatheusrdSantos commented 4 years ago

Hi, @vonec. I'll check your PR as soon as possible.

MatheusrdSantos commented 4 years ago

Thanks for your suggestion, @zayda3. I'll improve the way dates are displayed.

vonec commented 4 years ago

@MatheusrdSantos looking forward to it :)

vonec commented 4 years ago

any updates ? waiting for that feature

MatheusrdSantos commented 4 years ago

@vonec, I left a comment on your PR #35. You forgot to declare the prop 'timestampConfig' in some components.

MatheusrdSantos commented 4 years ago

I guess this issue is solved here #35. Thanks, @vonec, and @zayda3!