Skip to content
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

tui.DatePicker.createRangePicker does not render a timepicker #49

Closed
honggukim0925 opened this issue Sep 19, 2019 · 2 comments
Closed
Assignees

Comments

@honggukim0925
Copy link

honggukim0925 commented Sep 19, 2019

Version

date-picker 4.0

Development Environment

linux ubuntu 18.04

Current Behavior

안녕하세요
아래의 방법으로 RangePicker를 사용하고 있습니다만
api문서에는 timePicker =true 라고 하면 time picker가 아래에 나와야하는데
아무리해도 안나오네요..
어떻게 하면 좋을까요?

good afternoon
I using the "RangePicker" in the following
In api document, if i use "timePicker =true", the time picker should be shown at the "rangePicker"
I can't make it.
How shall I do it?

// Write example code
var today = new Date();//tui.DatePicker.createRangePicker
var picker = tui.DatePicker.createRangePicker({
	usageStatistics: false,
    startpicker: {
        date: today,
        input: '#startpicker-input',
        container: '#startpicker-container'
		
    },
    endpicker: {	
        date: today,
        input: '#endpicker-input',
        container: '#endpicker-container'
		
    },
	timePicker:true,
format: 'yyyy-MM-dd HH:mm A',	
    selectableRanges: [
        [new Date(today.getFullYear() - 1, today.getMonth(), today.getDate()) , new Date(today.getFullYear() + 1, today.getMonth(), today.getDate())]
    ]
});

Expected Behavior

@heenakwag heenakwag self-assigned this Sep 19, 2019
heenakwag added a commit that referenced this issue Sep 20, 2019
- timepicker(will be deprecated in v4.1.0), timePicker
@heenakwag
Copy link
Member

heenakwag commented Sep 20, 2019

@honggukim0925

안녕하세요. 리포트해주신 버그 해결하여 v4.0.2(API)로 배포하였습니다.
한 가지 주의하실 점은, 현재 DateRangePicker에서 시간 범위가 고려되지 않고 있습니다. 해당 이슈는 10월 중으로 해결될 예정이며 #51 를 참고해주시길 바랍니다.
감사합니다 :)

Thank you for reporting a bug :)
I resolved this issue and released v4.0.2(API) including this patch.
The one thing you need to know is DateRangePicker does not consider a time range. This issue will be solved by October. Please refer to #51.

@heenakwag heenakwag changed the title tui.DatePicker.createRangePicker 를 사용하여 rangepicker사용시 timepicker가 안나옴 tui.DatePicker.createRangePicker does not render a timepicker Sep 20, 2019
@honggukim0925
Copy link
Author

빠른 피드백 감사 드립니다.
Thank you for your quick feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants