PDF kit command

fillSign.setDateFormat

Date format for Fill & Sign

Preferences ▸ Date format: the pattern Fill & Sign dates use (default m/d/yyyy). Set it with `format` (date codes yyyy yy mmmm mmm mm m dddd ddd dd d, other runs of y, m or d are refused; H h M s t are time letters and need \ before them; \ shows the next character as is), or read it. `language` sets the language of month and weekday names (a code from `languages`, or `auto` to follow the app's interface language; English headless). Returns the format, the language, today in them, `unwritable` (characters of today's date that Fill & Sign can't write into a PDF yet, Western European only; fillSign.add refuses such a date), the ready-made presets and the languages.

Kit
PDF 0.1.0 (.pdf)
Changes the document
yes

Parameters

Parameters of fillSign.setDateFormat
NameTypeRequiredDescription
formatstringno(maxLength 64, minLength 1)
languagestringno

Call through pdf_run

text
pdf_run {
  "path": "<file>.pdf",
  "steps": [{ "command": "fillSign.setDateFormat" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: format, language. pdf_run answers the step’s result in completed[i].result.

Result

The kit gives no result schema for this command.

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "format": {
      "description": "(maxLength 64, minLength 1)",
      "type": "string"
    },
    "language": {
      "type": "string"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (pdf_commands through @kition/[email protected], built from KitionAI/kition-pdf@b0d2725). As data: commands.jsonl.