Skip to content

[react-native-paper-dates] The locale en is not registered, see README!, key: typeInDate #473

@vinayzerozilla

Description

@vinayzerozilla

Issue

Giving the warning [react-native-paper-dates] The locale en is not registered, see README!, key: typeInDate

Expected Behavior

it shouldn't give warning after the setting the locale also

Code

<DatePickerModal
         locale="en" 
          mode="single"
          visible={open}
          onDismiss={onDismissSingle}
          date={props.date}
          onConfirm={onConfirmSingle}
        />

Environment

  1. react-native -v: 0.72.4
  2. node -v: v18.18.0
  3. npm -v: 9.8.1
  4. yarn --version:
  5. target platform: Android | iOS : Android
  6. operating system: Windows

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions