this repo has no description

chore: Adding duration based date filter to atmosphere dev feed

Signed-off-by: Nick Gerakines <12125+ngerakines@users.noreply.github.com>

+6
+6
etc/atmosphere_dev.rhai
··· 8 8 return false; 9 9 } 10 10 11 + // Reject posts where the created at is more than 8 days ago. 12 + // See https://docs.rs/duration-str/latest/duration_str/ 13 + if matcher_before_duration("-8d", event?.commit?.record?.createdAt ?? "") { 14 + return false; 15 + } 16 + 11 17 const BAIL = [ 12 18 // For obvious reasons, keep the feed to PG 13 19 "nsfw", "porn", "nsfl",