Python program to automate exporting my Markdown timesheets to Odoo
Find a file
Jef Roosens 267ad5b1b5
feat(cli): add flexible positional day argument
- Add parse_date_arg() to utils.py supporting YYYY-MM-DD, MM-DD, and
  DD-MM formats with either - or / as separator
- Add AmbiguousDateError for two-part dates valid as both MM-DD and DD-MM
- Replace --day flag with a positional optional argument (defaults to today)
- Remove old _parse_date() helper from cli.py
2026-06-02 09:31:04 +02:00
src/timesheets feat(cli): add flexible positional day argument 2026-06-02 09:31:04 +02:00
tests feat(cli): add flexible positional day argument 2026-06-02 09:31:04 +02:00
.coverage feat(cli): add flexible positional day argument 2026-06-02 09:31:04 +02:00
.gitignore feat: set up modularized version of project with testing 2026-06-02 09:31:01 +02:00
.python-version feat: set up modularized version of project with testing 2026-06-02 09:31:01 +02:00
AGENTS.md feat(cli): add flexible positional day argument 2026-06-02 09:31:04 +02:00
project_map.json feat: set up modularized version of project with testing 2026-06-02 09:31:01 +02:00
pyproject.toml feat(joplin): add --joplin flag to fetch weekly timesheet note from Joplin 2026-06-02 09:31:02 +02:00
README.md feat: set up modularized version of project with testing 2026-06-02 09:31:01 +02:00
uv.lock feat(joplin): add --joplin flag to fetch weekly timesheet note from Joplin 2026-06-02 09:31:02 +02:00