From 2da80aa1a08ece74a205fc30d190db4883bcd8bb Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Wed, 12 Sep 2018 13:06:42 -0400 Subject: [PATCH] endpoints/api: fix docs on dates for logs API The code actually adds the timezone, so previously this was very confusing telling the user that they needed to provide the timezone. --- endpoints/api/logs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/endpoints/api/logs.py b/endpoints/api/logs.py index f95be5d12..8d0068714 100644 --- a/endpoints/api/logs.py +++ b/endpoints/api/logs.py @@ -78,8 +78,8 @@ class RepositoryLogs(RepositoryParamResource): @require_repo_admin @nickname('listRepoLogs') @parse_args() - @query_param('starttime', 'Earliest time from which to get logs (%m/%d/%Y %Z)', type=str) - @query_param('endtime', 'Latest time to which to get logs (%m/%d/%Y %Z)', type=str) + @query_param('starttime', 'Earliest time from which to get logs. The time should be formatted "%m/%d/%Y" in UTC.', type=str) + @query_param('endtime', 'Latest time to which to get logs. The time should be formatted "%m/%d/%Y" in UTC.', type=str) @page_support() def get(self, namespace, repository, page_token, parsed_args): """ List the logs for the specified repository. """