Skip to content
HALOWERK

Text Tools

cldr week date from label

Locale week label resolution turns a regional week year, week number and weekday position into a civil date. Use it when an agent needs the date implied by a translated week label.

POST https://text.halowerk.com/v1/cldr-week-date-from-label

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
localestringYes
datestringNo
yearintegerYes
weekintegerYes
dayintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "locale": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1
    },
    "date": {
      "type": "string",
      "maxLength": 10,
      "minLength": 1
    },
    "year": {
      "type": "integer",
      "minimum": 1900,
      "maximum": 2100
    },
    "week": {
      "type": "integer",
      "minimum": 1,
      "maximum": 53
    },
    "day": {
      "type": "integer",
      "minimum": 1,
      "maximum": 7
    }
  },
  "required": [
    "locale",
    "year",
    "week",
    "day"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "locale": "en-US",
  "year": 2025,
  "week": 1,
  "day": 1
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string"
        },
        "weekday": {
          "type": "string"
        }
      },
      "required": [
        "date",
        "weekday"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-20 UTC.

More endpoints in this hub

All endpoints in this hub →