Skip to content

DatePickerIOS - locale props not working #17696

Description

@muthuraman007

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

Environment:
OS: macOS Sierra 10.12.6
Node: 8.9.0
Yarn: 0.27.5
npm: 5.5.1
Watchman: 4.7.0
Xcode: Xcode 9.1 Build version 9855
Android Studio: Not Found

Packages: (wanted => installed)
react: 16.1.1=> 16.1.1
react-native: 0.50.3 => 0.50.3

Steps to Reproduce

  1. Add DatePickerIOS component
  2. set locale props as "en_GB@calendar=buddhist" or "th_TH" or "zh_HK"
  3. set mode props as "date"

Expected Behavior

Date picker should show buddhist calendar type.

Actual Behavior

It showing default (gregorian) calendar type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions