Skip to content
Snippets Groups Projects
Commit bbda2b72 authored by Andreas Kienast's avatar Andreas Kienast Committed by Benjamin Franzke
Browse files

[BUGFIX] Provide luxon-compatible format token for aria labels in flatpickr

The flatpickr integration in TYPO3 is configured to use luxon for date
time formatting operations, which consumes different format tokens. This
leads to the situation that aria labels generated by flatpickr are now
broken.

This commit changes the option `ariaDateFormat` to luxon's `DDDD` token,
which renders a "localized date with full month and weekday", according
to [1].

[1] https://moment.github.io/luxon/#/formatting?id=table-of-tokens

Resolves: #104342
Releases: main, 12.4
Change-Id: I7902d39209ad59e0c3196db7f906b93533d7b7cf
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85191


Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenjamin Franzke <ben@bnf.dev>
Reviewed-by: default avatarBenjamin Franzke <ben@bnf.dev>
parent c11ccd3a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment