Skip to content

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

@honggukim0925

Description

@honggukim0925

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions