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

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