xdan / periodpicker

Empty repository for paid periodpicker version
14 stars 2 forks source link

seconds not included in return value #93

Open peteringemann opened 4 years ago

peteringemann commented 4 years ago

I just created a range picker and add seconds to the time dial. But when I get the range value the seconds are always just 00 even though I picked differently in the dial.

var periodpickerOptionsRange = {
                useTimepickerLimits: true,
                timepicker: true,
                tabIndex: 0,
                formatDate: 'YYYY-MM-DD',
                formatDateTime: 'YYYY-MM-DD',
                norange: false,
                cells: [1, 2],
                animation: false,
                lang: "en",
                timepickerOptions: {
                    hours: true,
                    minutes: true,
                    seconds: true,
                    ampm: false
                },
                navigate: false,
                clearButtonInButton: true,
                placement: 'auto'
            };

... have I missed something?