Description:
I’ve encountered a display anomaly within the date range selection for reports when the Discourse interface language is set to RTL Persian (Farsi). While the functionality of selecting a date range works correctly in both English and Persian interfaces, the visual feedback within the date input fields themselves differs.
Steps to Reproduce:
Scenario 1: English Language Interface (Correct Behavior)
- Set the Discourse interface language to English.
- Navigate to a report section that utilizes date range filtering (e.g., “Trending Search Terms”).
- Click on the date input fields (e.g., “Dates (UTC)”) to open the date picker.
- Select a start and end date.
- Observe: The selected dates are correctly displayed within the respective date input fields (as shown in
image1
).
Scenario 2: Persian Language Interface (Bugged Behavior)
- Set the Discourse interface language to Persian.
- Navigate to the same report section.
- Click on the date input fields to open the date picker.
- Select a start and end date.
- Observe: Although the date range is correctly applied to the report (i.e., the report results are filtered based on the chosen dates), the selected dates are not displayed within the date input fields themselves. The fields remain empty (as shown in
image2
).
Expected Behavior:
Regardless of the selected interface language, the chosen start and end dates should always be visually displayed within their respective date input fields after selection, providing clear feedback to the user.
Actual Behavior:
When the interface language is Persian, the selected dates are not rendered within the date input fields, despite the date range being correctly applied internally for report generation. This creates confusion for the user, as it appears no dates have been selected.
Thank you for your time and assistance.