Split shared UI knowledge into atomic topic directories

This commit is contained in:
mchus committed 2026-10-03 09:28:15 +03:00
1 parent 08ff987edb
commit b0e6402d66
37 files changed
+600 -516

No files matched your search

@@ -0,0 +1,16 @@
# Week display keeps the date intact
An enhanced date picker may show the week label in an alternate input while its original
field retains the date. A native input and a server-supplied label are also sufficient:
```html
<label for="delivery-date">Delivery date</label>
<input id="delivery-date" name="delivery_date" type="date"
value="2026-10-01" aria-describedby="delivery-week">
<span id="delivery-week">2026 · W40</span>
```
Recompute the label after selection, programmatic value changes and reset. Submit the original
`YYYY-MM-DD` value. Parse date-only strings as calendar dates, not timestamps that shift with
timezone conversion. Cross-year example: `2026 · W53 – 2027 · W01`, never `W1-53`.
The current-week header uses the operator's local date; audit event timestamps retain time.