Opened 13 years ago
Closed 5 years ago
#6493 closed defect (patchwelcome)
Range support for Date and Timepicker
Reported by: | nonken | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.11 |
Component: | DojoX Form | Version: | 1.1.0 |
Keywords: | DateTime, span | Cc: | |
Blocked By: | Blocking: |
Description
Both time and date picker need a way to support validation of spans. So if I have two date pickers or two time pickers or two datetime pickers it would be handy to be able to define spans.
Attachments (1)
Change History (10)
comment:1 Changed 13 years ago by
Component: | Dijit → DojoX Form |
---|
comment:2 Changed 13 years ago by
Yes, I am refering to the timespan feature you find on most travel booking sites. In this case it most of the time only includes date spans and not datetimespans. A datetimespan would be for instance useful in a scheduling application when I set an event to start at a certain date and time until a different date and time. of course the data have to be validated on th eserverside but it might be a useful validation feature for the client side.
I agree that it is questionable whether this should be a dijit core featur. Initially I think it is something, most people who are using date and time picker, will need.
comment:3 Changed 13 years ago by
Milestone: | 1.2 → 1.3 |
---|
comment:4 Changed 13 years ago by
Owner: | changed from nathan to Nathan Toone |
---|
comment:5 Changed 12 years ago by
Milestone: | 1.3 → future |
---|
Changed 12 years ago by
Attachment: | test_rangeValidate.html added |
---|
This is a test file which demonstrates functions that could be added to RangeBoundTextBox? in order to support "minWidget" and "maxWidget" constraints.
comment:7 Changed 9 years ago by
This project makes an excellent example of a DateRangePicker?
http://stephencelis.github.com/timeframe/
Has there been any updates for this request?
comment:9 Changed 5 years ago by
Milestone: | future → 1.11 |
---|---|
Resolution: | → patchwelcome |
Status: | new → closed |
If there's interest in revisiting this beyond what is supported in DojoX, please re-open with a pull request per our contribution guidelines ( https://github.com/dojo/dojo/blob/master/CONTRIBUTING.md ).
I need to be strict about what goes into dijit since we (I) don't want it to become monolithic. Specifying start dates / end dates is an often used feature, like on airline sites, but the description is too vague to really judge if that's what you mean, so let's see what you come up with and then decide if it's appropriate for dijit or not. If not would be a dojox feature. I suspect this is about the "3.5 hours" sort of selection.