Skip to content

Commit 54412a8

Browse files
committed
add example of timestamp
1 parent 3eee5b3 commit 54412a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roboflow/deployment.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ def is_valid_ISO8601_timestamp(ts):
1616

1717
def check_from_to_timestamp(from_timestamp, to_timestamp, default_timedelta):
1818
if from_timestamp and not is_valid_ISO8601_timestamp(from_timestamp):
19-
print("Please provide a valid from_timestamp in ISO8601 format")
19+
print("Please provide a valid from_timestamp in ISO8601 format (YYYY-MM-DD HH:MM:SS)")
2020
exit(1)
2121

2222
if to_timestamp and not is_valid_ISO8601_timestamp(to_timestamp):
23-
print("Please provide a valid to_timestamp in ISO8601 format")
23+
print("Please provide a valid to_timestamp in ISO8601 format (YYYY-MM-DD HH:MM:SS)")
2424
exit(1)
2525

2626
time_now = datetime.now().astimezone() # local timezone

0 commit comments

Comments
 (0)