Skip to content

Show the expired password's delivery time in the user's time format - #31

Open
ps2 wants to merge 1 commit into
next-devfrom
time-format
Open

ps2 wants to merge 1 commit into
next-devfrom
time-format

Conversation

@ps2

@ps2 ps2 commented Sep 22, 2026

Copy link
Copy Markdown

The expired-OTP error formatted the delivery time with "h:mm": 12-hour with no AM/PM marker, so "Password sent at 1:05 has expired" was ambiguous for everyone and wrong for 24-hour users. timeStyle = .short follows the locale and the 24-Hour Time setting.

"h:mm" is 12-hour with no AM/PM marker, so "sent at 1:05" was ambiguous
for everyone; timeStyle follows the locale and 24-Hour Time setting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant