Skip to content

Conversation

jajugoguma
Copy link
Contributor

Please check if the PR fulfills these requirements

  • It's submitted to right branch according to our branching model
  • It's right issue type on title
  • When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)
  • It does not introduce a breaking change or has description for the breaking change

Description

  • Fixed that the selectable time range was set for endPicker if the startPicker and endPicker had the same day even if the year and month were different.
    • It was caused by setting a time range without comparing startPicker's date to endPicker's date.

As-Is

To-Be


Thank you for your contribution to TOAST UI product. 🎉 😘 ✨

it('should not set disabled when date of start picker does not same as date of endPicker for time select options in endPicker', function() {
var startPickerDate = new Date(2021, 1, 1, 9, 30);
var endPickerDate = new Date(2022, 1, 1, 9, 30);
var hourSelectOptions, minuteSelectOptions;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

변수 앞에 endPicker prefix 있으면 가독성이 더 높겠어요.

@jajugoguma jajugoguma merged commit 02b16ea into master Nov 23, 2022
@jajugoguma jajugoguma deleted the fix/incorrect-time-range branch November 23, 2022 01:55
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.

3 participants