clarify format of date for host_metric

This commit is contained in:
Elijah DeLee 2021-05-26 17:31:11 -04:00
parent 66789fa713
commit 75de8a30f6

View File

@ -10,8 +10,8 @@ class Command(BaseCommand):
help = 'This is for offline licensing usage'
def add_arguments(self, parser):
parser.add_argument('--since', type=datetime.datetime.fromisoformat, help='Start Date in ISO format')
parser.add_argument('--until', type=datetime.datetime.fromisoformat, help='End Date in ISO format')
parser.add_argument('--since', type=datetime.datetime.fromisoformat, help='Start Date in ISO format YYYY-MM-DD')
parser.add_argument('--until', type=datetime.datetime.fromisoformat, help='End Date in ISO format YYYY-MM-DD')
parser.add_argument('--json', action='store_true', help='Select output as JSON')
def handle(self, *args, **options):