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.

Activity

  1. changed the title [-]DatDatePickerIOS - locale not working[/-] [+]DatePickerIOS - locale not working[/+] on Jan 22, 2018
  2. changed the title [-]DatePickerIOS - locale not working[/-] [+]DatePickerIOS - locale props not working[/+] on Jan 22, 2018
  3. muthuraman007 commented on Jan 22, 2018

    @muthuraman007
    Author

    @hramos Need your help

  4. michalpokojski commented on Jan 22, 2018

    @michalpokojski

    Confirm locale prop doesn't work. React 16.2.0, react-native 0.51.0

  5. 404sand808s commented on Jan 29, 2018

    @404sand808s

    Confirming as well. React 16.2.0, react-native 0.51.0.

  6. gedeagas commented on Jan 31, 2018

    @gedeagas
    Contributor

    I think I know what causes this problem.
    will try to submit a PR in the coming days

  7. 404sand808s commented on Jan 31, 2018

    @404sand808s

    Actually just realized today that they've fixed this issue in 0.52.0. Upgraded (or rather re-initiated and ported, upgrade process was hell) and now it works.

  8. gedeagas commented on Jan 31, 2018

    @gedeagas
    Contributor

    @404sand808s
    yep confirmed this issue was fixed at 0.52.0 release

  9. react-native-bot commented on Feb 24, 2018

    @react-native-bot
    Collaborator

    Thanks for posting this! It looks like you may not be using the latest version of React Native, v0.53.0, released on January 2018. Can you make sure this issue can still be reproduced in the latest version?

    I am going to close this, but please feel free to open a new issue if you are able to confirm that this is still a problem in v0.53.0 or newer.

    How to Contribute • What to Expect from Maintainers

  10. added
    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.
    on Feb 24, 2018
  11. salmanwaheed commented on Feb 24, 2018

    @salmanwaheed
  12. salmanwaheed commented on Feb 24, 2018

    @salmanwaheed
  13. locked and limited conversation to collaborators on May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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