Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

DatePicker call 'getFormatDate' cannot get the value of Hour(hh) or Minute(mm) #78

@xxyan0205

Description

@xxyan0205
  • Mand Mobile Version

    v1.2.2

  • OS Version & Browser Version

    all

  • Recurring Links

    <md-date-picker
      ref="datePicker"
      v-model="isDatePickerShow"
      type="custom"
      today-text="&(今天)"
      title="选择出险时间"
      is-twelve-hours
      :text-render="textRender"
      :custom-types="['yyyy', 'MM','dd', 'hh', 'mm']"
      :default-date="currentDate"
      @change="onDatePickerChange"
      @confirm="onDatePickerConfirm"
    ></md-date-picker>
    // ...
    onDatePickerConfirm(columnsValue) {
      console.log(this.$refs.datePicker.getFormatDate('yyyy/MM/dd hh:mm'))
    },
  • Expectant Behaviors

    2018/05/11 16:40

  • Actual Behaviors

    2018/05/11 16:mm

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions