Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies = [
"argcomplete==3.5.1",
"requests (>=2.32.4)",
"borb (==2.1.25)",
"python-dateutil==2.6.1",
"python-dateutil>=2.8.2",
"pytz",
"urllib3>=2.6.3",
"poetry-dynamic-versioning (>=1.8.1,<2.0.0)",
Expand Down
8 changes: 6 additions & 2 deletions vast.py
Original file line number Diff line number Diff line change
Expand Up @@ -6859,8 +6859,12 @@ def convert_dates_to_timestamps(args):
start_date_txt = ""
end_date_txt = ""

import dateutil
from dateutil import parser
try:
import dateutil
from dateutil import parser
except ImportError:
print("Error: python-dateutil is required for date parsing. Install it with: pip install python-dateutil")
raise SystemExit(1)

@vastzuby vastzuby Feb 20, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick : use sys.exit(1) instead for consistency


if args.end_date:
try:
Expand Down