Cap blog entries at todays date
authorMagnus Hagander <magnus@hagander.net>
Tue, 29 Mar 2016 08:41:12 +0000 (10:41 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 29 Mar 2016 08:41:12 +0000 (10:41 +0200)
commita8aeb00822e0adc28de7b48cd4836cc971c75e51
treede6127a901f060309ee65aa510ca59176dc2188a
parent8812841f4fa4ee0843f930c35d9ebd9b93b17b2c
Cap blog entries at todays date

This avoids cases where a blog entry might be unintentionally (or intentionally)
set with a date in the future in the incoming RSS feed and as such stays at the
frontpage of planet until that date is reached.

Instead, whenever something is parsed to be in the future, set the post date to
the time of the parsing (because it clearly exists at this time).
hamnadmin/hamnadmin/util/aggregate.py