replace all `today` instances with a function that can be overridden for tests