Skip to content

fix: hardcoded paths, import check, UTC datetime#99

Open
yetval wants to merge 1 commit intomvanhorn:mainfrom
yetval:fix/hardcoded-paths-issue-98
Open

fix: hardcoded paths, import check, UTC datetime#99
yetval wants to merge 1 commit intomvanhorn:mainfrom
yetval:fix/hardcoded-paths-issue-98

Conversation

@yetval
Copy link
Copy Markdown

@yetval yetval commented Mar 25, 2026

Fixed three low-severity bugs:

  • Replaced hardcoded /Users/mvanhorn/... paths in test-v1-vs-v2.sh with auto-detected values via git rev-parse and command -v claude, with env var overrides
  • Expanded sync.sh import verification to dynamically check all modules in lib/ instead of just 4
  • Fixed websearch.py to use datetime.now(timezone.utc) instead of naive local time

Closes #94, #96, #98

thakoreh added a commit to thakoreh/last30days-skill that referenced this pull request Mar 26, 2026
…vanhorn#98, mvanhorn#99

- mvanhorn#93: Catch FuturesTimeoutError alongside TimeoutError for Python <3.11 compat
- mvanhorn#94: Use UTC-aware datetime in websearch.py date calculations
- mvanhorn#95: Parse 'N months ago' date format in brave_search.py
- mvanhorn#96: Extend sync.sh import verification to cover all 34 lib modules
- mvanhorn#98: Replace hardcoded developer paths in test-v1-vs-v2.sh with variables
- mvanhorn#99: No hardcoded paths found in last30days.py (uses SCRIPT_DIR); UTC already used
@mvanhorn
Copy link
Copy Markdown
Owner

Thanks for the PR. Hardcoded paths and UTC datetime are real issues. Can't commit to merging right now - the v3.0 refactor is changing the module structure - but I'll consider it once things settle.

@yetval yetval force-pushed the fix/hardcoded-paths-issue-98 branch from f3becc7 to c1feb7b Compare March 29, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: websearch.py uses naive datetime for date calculations

2 participants