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

1 Like

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

1 Like

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

3 Likes

That is odd. Any ideas @joffreyjaffeux?

3 Likes

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.

4 Likes

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

2 Likes