Ticket #169 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Handle items with dates in the future

Reported by: mbonetti Owned by: mbonetti
Priority: low Milestone: Gregarius 0.6.0
Component: FEATURES Version:
Severity: minor Keywords: date
Cc:

Description

Some feeds (Warp Records for instance) have items with their publishing date set in the future. If we sort items by date they'll just hog the top of the itemlist until the publishing date is reached.

We could:

  • refuse to add items in the future to the database
  • add them to the database but not show them in the list until the publishing date is reached.

Change History

Changed 3 years ago by sdcosta

I dont think we can refuse to add them into the list or not show them.

How about a compromise. If the date is not too far into the future (some arbitrary limit- 1 day?) then we leave the date alone and let the items sit at the top of the list. If the date is beyond the limit then we replace it with our own date.

hmm. what happens if the server has incorrect time? ok this is too confusing for me.

Changed 3 years ago by mbonetti

  • status changed from new to closed
  • resolution set to fixed

So now, we're preventing *read* items in the future from being printed on the front page only.

Changed 3 years ago by sdcosta

sounds like a good compromise.

Note: See TracTickets for help on using tickets.