mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2025-06-15 21:17:17 +02:00
dspace_statistics_api/util.py: format with black
This commit is contained in:
@ -62,7 +62,6 @@ def get_statistics_shards():
|
|||||||
|
|
||||||
|
|
||||||
def is_valid_date(date):
|
def is_valid_date(date):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Solr date format is: 2020-01-01T00:00:00Z
|
# Solr date format is: 2020-01-01T00:00:00Z
|
||||||
# See: https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior
|
# See: https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior
|
||||||
|
Reference in New Issue
Block a user