When you add a Date field to a Screen Flow, the preview may display it as "Dec 31, 2024," while the same field on the record detail page shows as "12/31/2024." This article explains why this happens in Salesforce and confirms that it is expected behavior, not a bug.
This article answers: why does a Date field show a different format in the Salesforce Screen Flow preview than it does on the Lightning record detail page, and is this a bug?
This discrepancy occurs because Salesforce Screen Flows use different date formatting logic in preview mode compared to runtime (for example, the record detail page). This behavior is Working As Designed (WAD) and is not caused by localization settings.
| Setting | Value |
| Org Default Locale | English (United Kingdom) |
| Default Language | English |
| Default Time Zone | (GMT+05:30) India Standard Time (Asia/Kolkata) |
| User Locale | English (United Kingdom) |
| User Time Zone | (GMT+05:30) India Standard Time (Asia/Kolkata) |
Despite having consistent org and user settings, no formatting difference is observed between the preview and the detail page based on locale changes alone. This confirms the behavior is driven by component rendering logic, not by localization settings.
For example, even after changing the org locale to a different supported locale, the Screen Flow preview and the record detail page will still show the date in their own respective formats, because each component renders dates independently. This format difference aligns with Salesforce's supported ICU Date/Time formats.
005093909

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.