mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-21 22:05:02 +01:00
dspace_statistics_api/util.py: format with black
This commit is contained in:
parent
70f0d66c6e
commit
fe9f98bcc0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user