Description
I found all the posts and comments are displayed as ("edited") though actually they're maybe not.
1. comments
The comments in the post https://www.sportstalksocial.com/sportstalk/@patrickulrich/introducing-sportstalk-social-and-sports, are all displayed with "edited".
2. posts
And the posts are also displayed as (edited).
@patrickulrich 's post: https://www.sportstalksocial.com/sportstalk/@patrickulrich/introducing-sportstalk-social-and-sports
How to Contribute
For those who want to contribute to SportsTalk.social to fix the issue, you can find the source of the project on GitHub.
repository: https://github.com/steem-engine-exchange/nitrous/tree/scotty_sports
relevant code change:
- The "edited" text is displayed by ContentEditedWrapper from: https://github.com/steem-engine-exchange/nitrous/blame/8f508a3ecbe8b1d607d8d156e5bc59b615aab29b/src/app/components/elements/ContentEditedWrapper/index.jsx
- the issue here is because updateDate is always equal to the time when the page is open.
comment.last_update
is not correct: https://github.com/steem-engine-exchange/nitrous/blob/8f508a3ecbe8b1d607d8d156e5bc59b615aab29b/src/app/components/cards/Comment.jsx#L460
debug the React components:
- You're find the update date is always the current time.
I may resume the investigation when I get time late today or tomorrow.