L
L
lalala davaipoidemctoboiuda2018-04-07 14:54:58
Habr
lalala davaipoidemctoboiuda, 2018-04-07 14:54:58

How to live on?

A big secret for a
small company for a small company such
a huge secret

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikolai Chuprik, 2018-04-07
@choupa

Why AJAX. Load the absolute time of publication to the client immediately, and let JS use setTimeout once every N seconds to calculate the difference with the current time, that's business.

E
Eugene, 2018-04-07
@Eugeny1987

https://timeago.yarp.com/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question