File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -201,8 +201,8 @@ def clone_channels():
201201
202202 # Examples:
203203 #
204- # Released on yyyy-mm-dd hh:mm UTC from Git commit ...
205- # Released on yyyy-mm-dd hh:mm from ...
204+ # Released on yyyy-mm-dd hh:mm:ss UTC from Git commit ...
205+ # Released on yyyy-mm-dd hh:mm:ss from ...
206206 tagline_res = re .match (r'^Released on (.+?) (?:UTC )?from' , tagline )
207207
208208 if tagline_res is None :
@@ -386,7 +386,7 @@ def garbage_collect():
386386 if not (release / 'binary-cache-url' ).exists (): continue
387387
388388 channel = release .name .split ('@' )[0 ]
389- date_match = re .match (r'\d+-\d+-\d+ \d+:\d+' , date_str )
389+ date_match = re .match (r'\d+-\d+-\d+ \d+:\d+:\d+ ' , date_str )
390390 assert date_match is not None , f'Release { release !r} has invalid time { date_str !r} '
391391 date_str = date_match [0 ]
392392 released_date = datetime .strptime (date_str , '%Y-%m-%d %H:%M:%S' )
You can’t perform that action at this time.
0 commit comments