|
@@ -99,8 +99,9 @@ How it gets the info:
|
|
|
- **Unambiguous date outputs:** prefer ISO-8601 (RFC-3339 / `2006-01-02`)
|
|
- **Unambiguous date outputs:** prefer ISO-8601 (RFC-3339 / `2006-01-02`)
|
|
|
for machine-readable/structured surfaces (CLI `--json`, MCP `offer` wire type);
|
|
for machine-readable/structured surfaces (CLI `--json`, MCP `offer` wire type);
|
|
|
compact locale-style formats (e.g. `02.01.`) are only for human-facing chat
|
|
compact locale-style formats (e.g. `02.01.`) are only for human-facing chat
|
|
|
- messages and must be overridable via `CHEAPO_DATE_FORMAT`. Avoid ambiguous
|
|
|
|
|
- `DD.MM.`/`MM/DD` outputs without a year.
|
|
|
|
|
|
|
+ messages and must be overridable via `CHEAPO_DATE_FORMAT`. The CLI's human-
|
|
|
|
|
+ readable "Free until:" line honors `CHEAPO_CLI_OUTPUT_DATE_FORMAT` (default
|
|
|
|
|
+ RFC-3339). Avoid ambiguous `DD.MM.`/`MM/DD` outputs without a year.
|
|
|
- Wrap errors with context: `fmt.Errorf("epic: ...: %w", err)`.
|
|
- Wrap errors with context: `fmt.Errorf("epic: ...: %w", err)`.
|
|
|
- New store platforms (Prime, GOG, …) follow the provider pattern (above).
|
|
- New store platforms (Prime, GOG, …) follow the provider pattern (above).
|
|
|
- **Chatto client:** `internal/chatto` is a hand-built Connect-JSON client
|
|
- **Chatto client:** `internal/chatto` is a hand-built Connect-JSON client
|