This object is in archive! 
Upvote 2

Refresh Timestamps like in Chat Module

Archived Jens Havelberg 6 years ago

Hi,

is it possible to refresh this timestamps with js like in chat module (without reloading page)?

Best Answer
photo

We have added this feature in the upcoming 6.2.5 release that will be available today later.

Replies (6)

photo
1

hi stas,

the implementation of this function is very simple:

https://momentjs.com/ see Relative Time in documentation. Many other solutions are therefore stylish. I think you can just have it.

could you use that too?

photo
1

HI Jens,

We have used moment.js in chat module, but where do you want it to be refreshed - systemwide?

photo
1

scenario: object page is open in my browser tab, other user wrote a note, i go into the browser tab after a hour and see "few seconds ago" -> thats wrong...

we often have many tabs open and leave them open for a long time. the comments and notes come in automatically. only the times never update.

photo
2

Agree, Expect it to get in the next release

photo
1

We have added this feature in the upcoming 6.2.5 release that will be available today later.

photo
1

i'm happy! thank you!

Replies have been locked on this page!