# Bug in post date

**URL:** https://meta.discourse.org/t/bug-in-post-date/49337
**Category:** Bug
**Created:** [August 28, 2016, 9:19am UTC](https://meta.discourse.org/t/bug-in-post-date/49337 "2016-08-28T09:19:09Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![gauthier](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gauthier/32/59292_2.png) [@gauthier](https://meta.discourse.org/u/gauthier)
#### Post date: [August 28, 2016, 9:19am UTC](https://meta.discourse.org/t/bug-in-post-date/49337/1 "2016-08-28T09:19:09Z")

</div>

hi,

I’ve a bug with the post date:

 ![](https://global.discourse-cdn.com/meta/original/3X/f/c/fc554d4571a7f78d3cc28fbe4b447023fc95dd2e.jpg)

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

You can check yourself at [http://libertysim.net/t/salut-a-tous/38116/11](http://libertysim.net/t/salut-a-tous/38116/11)

Thanks

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [August 28, 2016, 6:08pm UTC](https://meta.discourse.org/t/bug-in-post-date/49337/2 "2016-08-28T18:08:07Z")

</div>

Are you running the latest version of Discourse?

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [August 28, 2016, 7:03pm UTC](https://meta.discourse.org/t/bug-in-post-date/49337/3 "2016-08-28T19:03:50Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![gauthier](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gauthier/32/59292_2.png) [@gauthier](https://meta.discourse.org/u/gauthier)
#### Post date: [August 28, 2016, 7:56pm UTC](https://meta.discourse.org/t/bug-in-post-date/49337/4 "2016-08-28T19:56:18Z")

</div>

@zogstrip, i’m running the version 1.7.0beta3

@Mittineague, no ☹

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

---

<div class="post-metadata">

### Author: ![gauthier](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gauthier/32/59292_2.png) [@gauthier](https://meta.discourse.org/u/gauthier)
#### Post date: [August 28, 2016, 8:05pm UTC](https://meta.discourse.org/t/bug-in-post-date/49337/5 "2016-08-28T20:05:45Z")

</div>

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).

 ![](https://global.discourse-cdn.com/meta/original/3X/b/7/b7e6014406f03adc5d105f4db8085c93e630aad9.jpg)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [August 29, 2016, 8:16am UTC](https://meta.discourse.org/t/bug-in-post-date/49337/6 "2016-08-29T08:16:26Z")

</div>

Can you ssh into your server and do the following?

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

```

This should fix the empty `last_posted_at` on the topic.

---

<div class="post-metadata">

### Author: ![gauthier](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gauthier/32/59292_2.png) [@gauthier](https://meta.discourse.org/u/gauthier)
#### Post date: [August 29, 2016, 8:31am UTC](https://meta.discourse.org/t/bug-in-post-date/49337/7 "2016-08-29T08:31:30Z")

</div>

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

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [January 9, 2017, 7:25am UTC](https://meta.discourse.org/t/bug-in-post-date/49337/8 "2017-01-09T07:25:02Z")

</div>


