Relative timestamp different for "invited to topic" different than post-time?

14

Very small bug, but it seems that I was invited (2 days ago) after I responded to a topic (three days ago). In reality I posted some 15 minutes after being invited.

Think the timestamps are being converted differently?

Running v2.1.5

إعجابَين (2)

Hover your pointing device over the dates to see specifics and post those specifics here please?

إعجابَين (2)

That would’ve been smart for me to do, an IT professional would do that without being asked… sorry :slight_smile:

Timestamp of the invite:
1558701092764, getting rendered as May 24, 2019 2:31 pm
Timestamp of the reply:
1558701190690 getting rendered as May 24, 2019 2:33pm

28 06

4 إعجابات

That is odd. Any ideas @j.jaffeux?

4 إعجابات

Pretty sure this should fix it:

https://github.com/discourse/discourse/pull/7625

I would want to try to write a test for this before merging it, and I feel like there are other codepaths involved.

5 إعجابات

It has been merged, let me know if it doesn’t fix your issue. Thanks.

3 إعجابات