Skip to content

Conversation

KBuild
Copy link

@KBuild KBuild commented May 9, 2019

Hi! Thank you for creating good date picker components! This project is awesome, but we want to date format like asian type(I assume east asian country using "MM DD" or "MM DD ddd" instead of "ddd D MMM" or "DD MM")

So I make some patches as below. If you think it is good patch, please accept this PR. Or not, close this PR. I look forward to a your mention.

changes

  • add new option reverseYMOrder
    • if this option is true, then display as Year/Month order on date picker's header
  • change format on month selector
    • ddd D MMM -> month and date from YMD format(related with locale)
  • change format on year selector
    • moment().locale().year()
  • use a same month format string on month util file(src/VueCtkDateTimePicker/modules/month.js)
  • fix uncomfortable action: click event occurred twice

mag-chang added a commit to mag-chang/vue-ctk-date-time-picker that referenced this pull request Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant