Skip to content

TimePicker is not correct in RTL languages  #62775

@omidh28

Description

@omidh28

timerpicker_bug

To reproduce, Set app locale to a right-to-left language (fa for example) then open timepicker.

Besides that "Select Time" which not translated, Why is that the time of day format is in mm:hh format instead of hh:mm?

RTL doesn't mean everything should be written right to left, Those languages still use hh:mm for time format.
Also it wasn't an issue in previous TimePicker widget.

Flutter Doctor
[√] Flutter (Channel beta, 1.20.0-7.3.pre, on Microsoft Windows [Version 10.0.19041.388], locale en-US)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
X Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit
https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions.
[√] Chrome - develop for the web
[√] Android Studio (version 4.0)
[√] VS Code, 64-bit edition (version 1.47.3)
[√] Connected device (4 available)

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: internationalizationSupporting other languages or locales. (aka i18n)c: regressionIt was better in the past than it is nowf: date/time pickerDate or time picker widgetsf: material designflutter/packages/flutter/material repository.found in release: 1.21Found to occur in 1.21frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions