question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature require Time Range Picker feature

See original GitHub issue

What problem does this feature solve?

Hi, First of all, the framework is awesome!

But, I am facing a feature which doesn’t implement by ANTD

This issue could relate this: https://github.com/ant-design/ant-design/issues/8584

But the feature is still not implemented yet in 3.x ANTD.

What does the proposed API look like?

const RangePicker = TimePicker.RangePicker
...
<RangePicker />

Just allows users to pick time range rather than date first then time range.

screen shot 2018-03-08 at 4 45 25 pm

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

6reactions
imakoucommented, Mar 13, 2018

@yesmeck Thanks. Will the feature be implemented in the feature? The time ranger pick is awesome in Ant Design, but it cannot be used independently. It must be called DatePicker then TimePicker. Hopely, there is an independent time ranger picker. 😃

3reactions
imakoucommented, Mar 9, 2018

@benjycui Hi, thanks for your replying. But, I cannot quite understand how to use it. I’ve changed state as mode:['time','time'] for rangepicker. It shows some error message

"Warning: Failed prop type: Invalid prop `mode[0]` of value `time` supplied to `RangeCalendar`, expected one of ['date','month','year','decade'].
    in RangeCalendar (created by RangePicker)
    in RangePicker (created by LocaleReceiver)
    in LocaleReceiver (created by PickerWrapper)
    in PickerWrapper (created by ControlledRangePicker)
    in ControlledRangePicker
    in div"

Could you please give me more specific example or demo?

In the demo from your link, I can see that only DatePicker is allowed to set mode:["time"]. On the other hand, RangePicker doesn’t be allowed to set mode:["time"].

Read more comments on GitHub >

github_iconTop Results From Across the Web

Date Range Picker — JavaScript Date & Time Picker Library
A JavaScript component for choosing date ranges, dates and times. Originally created for reports at Improvely, the Date Range Picker can be attached...
Read more >
Date & Time Picker - V-Calendar
v-date-picker is a feature-rich date picker implemented as a wrapper for ... Binding to date ranges is also supported by setting the is-range...
Read more >
Time Picker - Components - Twilio Paste
The Time Picker is an input field which accepts a value in HH:mm format. Currently, the Time Picker is built on top of...
Read more >
Can we add component for Date-Range picker with time ...
I have a situation where we need date range picker with time. Form date, time - To date, time. Can we create a...
Read more >
How to Set Custom Time Range Presets in Splunk
If you need to run searches over a specific time range, ... Since this was a new feature for many of them, I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found