f50a0d5b33db636eebe2a3161adb972dec40233f
Angular's search filter rewrites the 'Дата рейса' input value to the translated 'Сегодня' label whenever the picked date equals today, matching the 'Сегодня' that appears in the H1 and SEO strings. React was showing the raw 'DD.MM.YYYY' even when today, so the filter read clinical next to the warm page heading. PrimeReact's Calendar doesn't support a custom display formatter, but exposes an inputRef. Wire one up on both Calendar instances (flight number tab + route tab) and rewrite the DOM value to SHARED.TODAY whenever flightDate / routeDate is today. The ref update runs on every mount + date change, so navigating between tabs also gets it right.
Description
No description provided
Languages
TypeScript
62.7%
HTML
23.6%
SCSS
11%
JavaScript
1.1%
C#
0.9%
Other
0.6%