-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: always reset time when setting range #66
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
리뷰완료합니다.
src/js/timepicker/index.js
Outdated
@@ -768,7 +768,9 @@ var TimePicker = defineClass( | |||
* @private | |||
*/ | |||
applyRange: function(beginHour, beginMin, endHour) { | |||
this.setTime(beginHour, beginMin); | |||
if (this.isLaterThanSettedTime(beginHour, beginMin)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setted
가 없는 단어라 isLaterThanSetTime
이면 될 것 같아요.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
리뷰 완료합니다.
src/js/timepicker/index.js
Outdated
@@ -836,6 +838,17 @@ var TimePicker = defineClass( | |||
minute <= END_NUMBER_OF_MINUTE; | |||
}, | |||
|
|||
/** | |||
* Compare given time with setted time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기도 수정해주면 좋겠네요 setted
-> set
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
리뷰 완료합니다.
Please check if the PR fulfills these requirements
fix #xxx[,#xxx]
, where "xxx" is the issue number)Description
Fix an issue where when setting a range, the time would be reset to the start time of the range regardless of the set time
Thank you for your contribution to TOAST UI product. 🎉 😘 ✨