View Issue Details

IDProjectCategoryView StatusLast Update
0010562Talerdocumentationpublic2025-11-07 16:21
Reporterhtgoebel Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Summary0010562: Wrong type definitions for Timestamp and RelativeTime
DescriptionDokumention 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 ReproduceDocumentation states the correct data types.
Additional InformationAdditionally, the documentation explicitly defines "Integers: JavaScript numbers restricted to integers." But Timestamp and RelativeTime are *not* decumented using Interger.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-11-07 16:21 htgoebel New Issue