Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date error on post in moderation queue #9233

Closed
5 tasks
ebarry opened this issue Feb 23, 2021 · 2 comments · Fixed by #9258
Closed
5 tasks

Date error on post in moderation queue #9233

ebarry opened this issue Feb 23, 2021 · 2 comments · Fixed by #9258
Labels
assigned bug the issue is regarding one of our programs which faces problems when a certain task is executed first-timers-only They need to be well-formatted using the First-timers_Issue_Template.

Comments

@ebarry
Copy link
Member

ebarry commented Feb 23, 2021

Problem Description

A comment that appears in the https://publiclab.org/spam2 queue an hour ago (shown in the screenshot as the top comment), when clicked, says it was posted 51 years ago.

screen_shot_2021-02-23_at_4 05 31_pm

I expected to see a more recent timestamp, similar to the "1 hour" that appeared in the list.

📋 Step by Step

See this page for some help in taking your first steps!

Replace this line https://github.com/publiclab/plots2/blob/main/app/views/spam2/_comments.html.erb#L141
with

 <%= time_ago_in_words(comment.timestamp) %> ago
  • 💾 Commit your changes

  • 🔀 Start a Pull Request. There are two ways how you can start a pull request:

  1. If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.

  2. You can also edit files directly in your browser and open a pull request from there.

  • 🏁 Done Ask in comments for a review :)

Please keep us updated

💬⏰ - We encourage contributors to be respectful to the community and provide an update within a week of claiming a first-timers-only issue. We're happy to keep it assigned to you as long as you need if you update us with a request for more time or help, but if we don't see any activity a week after you claim it we may reassign it to give someone else a chance. Thank you in advance!

If this happens to you, don't sweat it! Grab another open issue.

Is someone else already working on this?

🔗- We encourage contributors to link to the original issue in their pull request so all users can easily see if someone's already started on it.

👥- If someone seems stuck, offer them some help! Otherwise, take a look at some other issues you can help with. Thanks!

🤔❓ Questions?

Leave a comment below!

@ebarry ebarry added the bug the issue is regarding one of our programs which faces problems when a certain task is executed label Feb 23, 2021
@cesswairimu
Copy link
Collaborator

thanks for reporting this Liz, I will edit the description a bit and convert this to a fto.

@cesswairimu cesswairimu added the first-timers-only They need to be well-formatted using the First-timers_Issue_Template. label Mar 1, 2021
@cesswairimu
Copy link
Collaborator

Reserved for @PavitKaur05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned bug the issue is regarding one of our programs which faces problems when a certain task is executed first-timers-only They need to be well-formatted using the First-timers_Issue_Template.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants