It's kind of weird to do this instead of using now - timedelta(days=1). Seems like an unnecessary import and slightly less comprehensible.