mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-21 14:20:41 +08:00
* Move min_date, max_date, time_interval into DialogElement.datetime_config Consolidate date/datetime configuration into the datetime_config sub-object on both DialogElement (Go/TS) and AppField (TS), deprecating the top-level fields while keeping them for backward compatibility. DateTimeConfig values take precedence over legacy fields via EffectiveDateTimeConfig() (Go) and nullish coalescing fallback chains (TS). Also fixes: timezone indicator now uses FormattedMessage for i18n, CSS class with theme variable instead of inline styles, and proper DateTimeConfig type instead of Record<string, unknown> cast.