Update date formatting
DATE_FORMAT
group of CodeValues
defines formats supported by GG-CE and the CT. The CT uses the CodeValue.value
to parse user string input to Date and render Date using the format string. GG-CE uses CodeValueLang.title
as the formatting string.
CodeValueLang.title
use momentjs date formatting tokens since 9ca07531, which are different from Java's or browser Intl API. This also affects the string escape ([Pre] yyyy
vs 'Pre' yyyy
) that were updated using liquibase in the same commit.
In this ticket we revert CodeValueLang.title
from momentjs tokens to Intl API tokens.