Files
deckcraft/crates
Hamza 372c0e6c44 Apply only a date format the caller asked for
The dialog always sends `dateText`, so an Apply with no format selection
reached `set_date` carrying the deck's global format, and rewrote a slide's own
date field to it. Measured on two slides, the first on the time format and the
second on the short date:

    before   [datetime11, datetime5]
    apply {"date": true, "dateText": "", "all": true}
    after    [datetime5,  datetime5]

The first slide's format was never mentioned by the caller, and it was gone.
`set_date` already keeps an existing field when the format is empty, so it now
gets an empty format unless `dateFormat` was supplied; a format that is
supplied still reaches every slide, which the test checks so the guard cannot
quietly become a block.
2026-10-29 16:48:32 +05:00
..
2026-10-25 13:42:06 -04:00
2026-10-28 06:02:27 +00:00
2026-10-25 13:42:04 -04:00
…
2026-10-28 06:02:27 +00:00