The backend's WorkLogCreate.logged_date is a REQUIRED datetime, but the CLI only sent it when --date was passed, and then as a bare YYYY-MM-DD that failed datetime parsing → `hf worklog add` always 422'd (missing, then invalid). Default logged_date to now (RFC3339); anchor a bare --date <yyyy-mm-dd> to start-of-day so it parses as a datetime. Verified on sim: `hf worklog add --task <code> --hours <n> --desc ...` (no --date) now succeeds. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
3.3 KiB
3.3 KiB