React-dates: Support time-picker

Created on 18 Jan 2017  路  28Comments  路  Source: airbnb/react-dates

Hi guys, is there any possibility to also support time-picker in the future?

feature request

Most helpful comment

My product (see attached screen shot) requires a time picker. If anyone is working on this and has a branch I would love to lend a hand.

download

All 28 comments

@ljharb Just curious about your thoughts or plans on this request?

To be honest, this seems like a useful thing to be an entirely separate package; which if we wanted a DateTimePicker, we'd pull in as a dependency. react-dates is already pretty big.

Hello guys, I did this today: https://www.dropbox.com/s/6z0wu6papx6ff5m/Screenshot%202017-05-22%2018.58.15.png?dl=0

I'm still working on it, but will submit a pull requests when I finish :)

@mateioprea Good job on making it feel part of the plugin, I'd love for this to be an option. One thing you might be missing is an AM/PM meridiem toggle?

@ljharb I hear you on the size, but I wonder if the more effective solution there is to be able to import only the component you need rather than importing the whole package with all the components in them? (for example, even today, when I am using SingleDatePicker, it ends up importing DateRangePicker in the final build)

@oyeanuj now that you're saying will work on implementing that too. I thought that 24h format will be fine, but I think AM/PM thing can be optional and it can default to 24h

@oyeanuj that's easily resolved by deep-linking to the thing you want, instead of importing from the "main" entry point - but bundle size isn't what i was talking about.

Any workaround on this?

@mateioprea did you ever release that package?

@smeijer check on my profile. But i used something else and didn鈥檛 get a chance to release anything. From what I remember i still had some things to do but it鈥檚 a good start

@mateioprea nice, hopefully it will end up in a PR soon 馃槃

@oyeanuj they said that they don鈥檛 want that. Maybe act as an independent package

this might be an alternative option react-flatpickr

@mateioprea : Release it as an independent package

You all might be interested in react-datetime

Do we have any update on this?

Did anything happens last 1.5 year?

Any news? Still looking for outputing Time and passing it to Single-Product screen!

Also still hoping to see something on this.

we dream with this feature

would love to see this

I don't know if this has been mentioned yet, but it would be super cool if they added support for a time-picker ;)

My product (see attached screen shot) requires a time picker. If anyone is working on this and has a branch I would love to lend a hand.

download

still no support for timepicker ? :laughing: :hourglass:

when we will get time picker support over here ?

Did anything happens last 3 year about timepicker?

Unfortunately, react-dates doesn't work with time. I created a wrapper over DateTimePicker to fix it but faced hardcoded hours in sources. https://github.com/airbnb/react-dates/pull/2072/files there required changes. Please take a look. I will appreciate it

Agreed, It's pretty useful to be able to select a date and a time/timeslot from just one modal interaction

Any more support on this? This issue has been open for quite a bit.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Jesus-Gonzalez picture Jesus-Gonzalez  路  3Comments

Adam-Pendleton picture Adam-Pendleton  路  3Comments

arthurvi picture arthurvi  路  3Comments

AsasinCree picture AsasinCree  路  3Comments

prztrz picture prztrz  路  3Comments