Adding a "Days Ago" Indicator to the Post Curation Tool

Hey everyone,

I was catching up on the requests for the Post Curation Tool (PCT) in the recent post by @friendlymoose. I decided to tackle one of them this morning to help move the project forward.


The Feature Request

For context, here is the current list of requested features for the PCT:

  • Filtering on post rewards
  • Filtering on age of the account
  • Indicators for the age of the post <-- This is the one I worked on.
  • Filtering on language
  • And/Or filtering of variables
  • Minimal number of words

The request, originally from @ladyaryastark, was to add a clearer indicator of how old a post is. When you're curating, knowing if a post is a current or a few days old is critical information and not obvious by the timestamp and not everyone is logged in to see the red/purple heart visual.


The Implementation

To address this, I wrote a simple helper function that calculates the time difference between now and when the post was created, and then formats it into a human-readable "X days ago" string. This small addition makes the age of each post immediately obvious at a glance.

Here is the result in action:

3 days ago

It's a small change, but it's a quality-of-life improvement that should make the curation process a little bit smoother. It's always fun to jump in and contribute to a community project, and I'm happy to help bring one of the requested features to life.

As always,
Michael Garcia a.k.a. TheCrazyGM

0.25244585 BEE
7 comments

Great addition! Reblogged it too!

0.00305437 BEE

Thanks a lot for the mention and for your work. I did try the tool maybe in a very early stage and I guess they were a very few temporal window of searching results... But that was a time ago, I should improve it again and see how it is working now!

Congratulations!

PS: Maybe you could add a feedback bottom to send suggestions to the team!

!PIZZA
!INDEED
!ZOMBIE

0.00299956 BEE

@friendlymoose esta a cargo organizar las sugerencias! Muchisimas gracias su participación :)

0.00013953 BEE

Tomaré esto como un "Por favor no molestar"

0.00294751 BEE

Very nice, thanks for the update!

0.00014408 BEE

@thecrazygm, @ecoinstant
Can I add another one to the list?

Being able to exclude posts with certain words in the subject would be very helpful too!
Just like you already have implemented for tags.

1000065615.jpg

I'll be back from holiday again next week, so I'll do another promotional blog to highlight the newly implemented features!

0.00014039 BEE

That's a simple, but oh so important addition for a curation tool. Excellent job, brother! I wish all interfaces would show that! 😁 🙏 💚 ✨ 🤙

0.00013734 BEE
(edited)

PIZZA!

$PIZZA slices delivered:
@ecoinstant(3/20) tipped @thecrazygm
ladyaryastark tipped thecrazygm

Come get MOONed!

0.00013733 BEE

Filtering on language is an interesting one - I guess we could do some tag analysis for that?

!PIMP
!PIZZA

0.00012810 BEE