From 1ed5d783e8f256e48cb41b7ef3847b206b6a1fc9 Mon Sep 17 00:00:00 2001 From: Nick Shirokov Date: Sun, 8 Feb 2026 18:35:44 +0300 Subject: [PATCH] Rename numberFormat to format in mxl-compile DSL The field covers all 1C format strings: numbers, dates, booleans. Co-Authored-By: Claude Opus 4.6 --- .claude/skills/mxl-compile/SKILL.md | 2 +- .claude/skills/mxl-compile/scripts/mxl-compile.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.claude/skills/mxl-compile/SKILL.md b/.claude/skills/mxl-compile/SKILL.md index e2599df2..d48f898a 100644 --- a/.claude/skills/mxl-compile/SKILL.md +++ b/.claude/skills/mxl-compile/SKILL.md @@ -142,7 +142,7 @@ powershell.exe -NoProfile -File .claude/skills/mxl-compile/scripts/mxl-compile.p | `border` | — | Стороны рамки: `all`, `top`, `bottom`, `left`, `right`, `none`. Через запятую: `"top,bottom"` | | `borderWidth` | `"thin"` | Толщина рамки: `thin` (1px) или `thick` (2px) | | `wrap` | `false` | Перенос текста | -| `numberFormat` | — | Формат числа 1С, например `"ЧЦ=15; ЧДЦ=2"` | +| `format` | — | Формат данных 1С: `"ЧЦ=15; ЧДЦ=2"`, `"ДФ=dd.MM.yyyy"` и т.д. | ### Области (`areas[]`) diff --git a/.claude/skills/mxl-compile/scripts/mxl-compile.ps1 b/.claude/skills/mxl-compile/scripts/mxl-compile.ps1 index 28082fd3..5b4c5cf8 100644 --- a/.claude/skills/mxl-compile/scripts/mxl-compile.ps1 +++ b/.claude/skills/mxl-compile/scripts/mxl-compile.ps1 @@ -182,7 +182,7 @@ function Resolve-Style { if ($style.wrap -eq $true) { $wrap = $true } # Number format - if ($style.numberFormat) { $nf = $style.numberFormat } + if ($style.format) { $nf = $style.format } } }