Loading

Understanding Date Field Display Differences in Salesforce Screen Flow vs. Lightning Record Pages

Veröffentlichungsdatum: Aug 20, 2026
Beschreibung

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.

Lösung

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.

Example Org and User Settings

SettingValue
Org Default LocaleEnglish (United Kingdom)
Default LanguageEnglish
Default Time Zone(GMT+05:30) India Standard Time (Asia/Kolkata)
User LocaleEnglish (United Kingdom)
User Time Zone(GMT+05:30) India Standard Time (Asia/Kolkata)

Why Locale Settings Are Not the Cause

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.

Nummer des Knowledge-Artikels

005093909

 
Laden
Salesforce Help | Article