View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0010562 | Taler | documentation | public | 2025-11-07 16:21 | 2025-11-08 08:19 |
| Reporter | htgoebel | Assigned To | Christian Grothoff | ||
| Priority | high | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | git (master) | ||||
| Target Version | 1.2 | Fixed in Version | 1.2 | ||
| Summary | 0010562: Wrong type definitions for Timestamp and RelativeTime | ||||
| Description | Dokumention says: interface Timestamp { t_s: number | "never"; } interface RelativeTime { d_us: number | "forever"; } According to https://en.wikipedia.org/wiki/JSON#Data_types, a "number" "may contain a fractional part". Anyhow, when passing such a number, Taler returns an error. ' "code": 22,\n' ' "field": "timestamp",\n' | ||||
| Steps To Reproduce | Documentation states the correct data types. | ||||
| Additional Information | Additionally, the documentation explicitly defines "Integers: JavaScript numbers restricted to integers." But Timestamp and RelativeTime are *not* decumented using Interger. | ||||
| Tags | No tags attached. | ||||
|
|
9d62ae91..98080756 replaces all occurrences of "number" with "Integer", which is what was meant :-). Thanks for reporting, good catch! |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-11-07 16:21 | htgoebel | New Issue | |
| 2025-11-08 08:18 | Christian Grothoff | Note Added: 0026346 | |
| 2025-11-08 08:18 | Christian Grothoff | Assigned To | => Christian Grothoff |
| 2025-11-08 08:18 | Christian Grothoff | Status | new => assigned |
| 2025-11-08 08:18 | Christian Grothoff | Status | assigned => resolved |
| 2025-11-08 08:18 | Christian Grothoff | Resolution | open => fixed |
| 2025-11-08 08:18 | Christian Grothoff | Fixed in Version | => 1.2 |
| 2025-11-08 08:19 | Christian Grothoff | Product Version | => git (master) |
| 2025-11-08 08:19 | Christian Grothoff | Target Version | => 1.2 |