Mester / demo-day-vikings

The Unlicense
2 stars 1 forks source link

API module: function that returns top list within date range #24

Open Mester opened 8 years ago

Mester commented 8 years ago

Basically when you click on top and choose like past week, 24 hours, all time, etc

anubhavcodes commented 8 years ago

@Mester, has this been implemented already?

jasonmeeks commented 8 years ago

not implemented. we have the timestamp stored, so we would need to make a function that checks how long ago it was posted.

We would have to make this a feature for all the current options (top, random, recent) so we wouldnt have to make separate menus for each sorting method (it's annoying javascript/jquery stuff for that, but its possible for sure)

anubhavcodes commented 8 years ago

I am still trying to understand the code base, so once I do that, I can go ahead an implement this. Or anyone can take it up.