Skip to content
HALOWERK

Trade Operations

relative time cross locale width

Relative time translation compares the display widths of one offset across selected locales. Use it when an agent needs space allocation across localized interfaces.

POST https://handel.halowerk.com/v1/relative-time-cross-locale-width

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
localesarrayYes
styleSee schemaYes
unitSee schemaYes
valueintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "locales": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 45,
        "minLength": 1
      },
      "maxItems": 8,
      "minItems": 2
    },
    "style": {
      "enum": [
        "long",
        "short",
        "narrow"
      ]
    },
    "unit": {
      "enum": [
        "second",
        "minute",
        "hour",
        "day",
        "week",
        "month",
        "quarter",
        "year"
      ]
    },
    "value": {
      "type": "integer",
      "minimum": -10000,
      "maximum": 10000
    }
  },
  "required": [
    "locales",
    "style",
    "unit",
    "value"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "locales": [
    "de-DE",
    "en-GB"
  ],
  "style": "long",
  "unit": "day",
  "value": -1
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’