Skip to content

am/pm on the time picket button is coming in small case and format of time is not applied on button #17

Description

@harshitaahuja
 <TimePicker
                      style={{width: scale(77)}}
                      customStyles={{
                        dateInput: {borderColor: 'transparent'},
                        placeholderText: styles.textValue,
                        dateText: {
                          ...styles.textValue,
                          textAlign: 'right',
                        },
                      }}
                      format={'hh mm A'}
                      accentColor={'white'}
                      okColor={'black'}
                      cancelColor={'black'}
                      okText={'OK'}
                      //placeholder={this.state.timeText}
                      cancelText={'CANCEL'}
                      mode={'time'}
                      is24Hour={false}
                      disabled={false}
                      minuteInterval={15}
                      onConfirm={this._handleDatePicked}
                      onCancel={this._hideDateTimePicker}
                      date={this.state.date}
                      ref="TimePicker"
                    />

For time format "{'hh mm A'}" output should be AM/PM instead of am/pm

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions