View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0010562 | Taler | documentation | public | 2025-11-07 16:21 | 2025-11-07 16:21 |
| Reporter | htgoebel | Assigned To | |||
| Priority | high | Severity | major | Reproducibility | always |
| Status | new | Resolution | open | ||
| 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. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-11-07 16:21 | htgoebel | New Issue |