Skip to content

Commit 6a5f703

Browse files
committed
This is the old time.
1 parent 5094214 commit 6a5f703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonschema/_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def is_date(instance):
293293

294294

295295
@_checks_drafts(draft3="time", raises=ValueError)
296-
def is_time(instance):
296+
def is_draft3_time(instance):
297297
if not isinstance(instance, str_types):
298298
return True
299299
return datetime.datetime.strptime(instance, "%H:%M:%S")

0 commit comments

Comments
 (0)