Description
The admin Dashboard's formatDate helper uses a hardcoded 'en-US' locale for toLocaleDateString(). This should respect the user's browser locale or the app's current language setting.
Files to Change
packages/admin/src/pages/Dashboard.tsx — line 305
Steps
- Replace
'en-US' with navigator.language or the current i18n locale
- Verify date formatting still looks correct across common locales
Effort
XS — single line change
Description
The admin Dashboard's
formatDatehelper uses a hardcoded'en-US'locale fortoLocaleDateString(). This should respect the user's browser locale or the app's current language setting.Files to Change
packages/admin/src/pages/Dashboard.tsx— line 305Steps
'en-US'withnavigator.languageor the current i18n localeEffort
XS — single line change