mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-12 00:02:36 -05:00
add new tests for template statistics
This commit is contained in:
@@ -104,8 +104,8 @@ def days_ago(number_of_days):
|
||||
|
||||
def last_n_days(limit_days):
|
||||
"""
|
||||
Returns the last n dates, oldest first. Takes care of daylight savings (but returns a date, be careful how you manipulate it later! Don't
|
||||
directly use the date for comparing to UTC datetimes!). Includes today.
|
||||
Returns the last n dates, oldest first. Takes care of daylight savings (but returns a date, be careful how you
|
||||
manipulate it later! Don't directly use the date for comparing to UTC datetimes!). Includes today.
|
||||
"""
|
||||
return [
|
||||
datetime.combine(
|
||||
|
||||
Reference in New Issue
Block a user