mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-08 20:32:36 -04:00
The `format_datetime_relative` filter is only used by the scheduling stuff, which only deals with dates in the future. When used on dates in the past (more than 1 day ago) it gets confused and defaults to ‘tomorrow’. The `format_delta` method does a similar thing, but works for past and future dates. Users can still click through to the next page to see the exact date and time of the edits.