kronusaturn / lw2-viewer

An alternative frontend for LessWrong 2.0
https://www.greaterwrong.com/
MIT License
64 stars 6 forks source link

Use postedAt date for post time display, instead of createdAt #2

Closed Discordius closed 6 years ago

Discordius commented 6 years ago

I think the frontpage of greaterwrong right now uses the createdAt date for a post, but sorts by postedAt date. This makes it so that if someone had a post sitting around in their drafts for a while, the date shows as the time they first created the draft, and not the time they posted it.

screen shot 2018-06-19 at 11 50 45 am

kronusaturn commented 6 years ago

It already displays the postedAt date, but it's sorted by frontpageDate because it uses the 'frontpage-rss' view, and frontpageDate appears to reset to the current date whenever the post is edited. There doesn't seem to be a view available in GraphQL that returns frontpage posts sorted by postedAt.