time-picker icon indicating copy to clipboard operation
time-picker copied to clipboard

Have time range 0 to 30 hours

Open oliverwatkins opened this issue 7 years ago • 3 comments

I am working in the rail industry and they have this funny concept of each day having 30 hours. Is there any way to have the hours go to 30 hours?

I was thinking of hacking in Panel.js this line :

var hourOptions = generateOptions(30, disabledHourOptions, hideDisabledOptions);

It seems to work, but the value being shown in the textfield afterwards still shows it as 24 hours.

oliverwatkins avatar Apr 27 '17 13:04 oliverwatkins

As much as I understand, it returns a moment object, so it's going to pretty much be a normal date, possibly the day after (with a shift of x hours past the 24 hour mark)

qborreda avatar Jun 02 '17 14:06 qborreda

+1 I'm trying to figure out a way to show from 0 - 24 instead of 0 - 23 to indicate the two midnight options for a time range...

sunlee-newyork avatar Sep 29 '17 01:09 sunlee-newyork

I'd like option to have much more than 24 hours as a limit. Preferably set my own limit.

hgezim avatar Feb 26 '19 20:02 hgezim