Bug in post date


(gauthier) #1

hi,

I’ve a bug with the post date:

For this post (and only this one), the date in timeline is 1st january 70.
Can i do something?

You can check yourself at Salut à tous - Présentations - Libertysim.net - Simulation aérienne Forum & Discussions

Thanks


(Régis Hanol) #2

Are you running the latest version of Discourse?


(Mittineague) #3

I don’t know what caused this for you.

But I do recognize “January 1 1970” as a common Unix time problem.

Unix time is the number of seconds that have elapsed since January 1 1970

i.e. a timestamp value of zero is January 1 1970

Did you change ownership of any posts or change timestamp the topic?


(gauthier) #4

@zogstrip, i’m running the version 1.7.0beta3

@Mittineague, no :frowning:

The post date is correct (3days ago), but it is false on the timeline… it’s strange…


(gauthier) #5

And now, beta3+20.

On the topic list: the activity field indicates 5days ago, the date of the first post of the topic, instead of 3days ago (the last one).


(Régis Hanol) #6

Can you ssh into your server and do the following?

cd /var/discourse
./launcher enter app
rails c
Topic.reset_highest(38116)

This should fix the empty last_posted_at on the topic.


(gauthier) #7

Thanks, now it’s works on the timeline (4 days ago) but not in the homepage (always 6days ago instead of 4)


(Jeff Atwood) #8