Address remaining Marketplace review feedback

This commit is contained in:
demiliani 2026-09-11 16:39:28 +02:00
parent a300675320
commit 0e5351ed5d
11 changed files with 16 additions and 76 deletions

View file

@ -17,10 +17,10 @@ Write fixed dates in AL with the invariant `yyyymmddD` syntax. A locale-dependen
Represent a fixed date directly as an AL date literal, such as `20250131D`. Use `CalcDate` with a date formula when the value is relative rather than fixed.
See sample: `use-invariant-date-literals.good.al`.
See sample: [`use-invariant-date-literals.good.al`](use-invariant-date-literals.good.al).
## Anti Pattern
Building a fixed date by passing localized text such as `01/02/2025` to `Evaluate`. Detection signal: `Evaluate` converting a hard-coded or label-backed formatted string into a `Date`.
See sample: `use-invariant-date-literals.bad.al`.
See sample: [`use-invariant-date-literals.bad.al`](use-invariant-date-literals.bad.al).