alecthomas / alecthomas/voluptuous

Suggested Validator: DateTimeRange

Đang mở
#335 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
1.9k
Fork
237
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hello Alec,

first of all: thank you for your wonderfull library! :+1:

As the maintainer of [projecthamster](https://github.com/projecthamster), handling and validating all kinds of time/date/dateime related data is somewhat of a big thing for me. One rather common task is to handle not only individual datetimes but ranges. That is, to make sure that some data
- is actually a range
- and that the range passes basic sanity checks: start < end

Is this something you would be interested in as a PR (same with regards to a ``validators.Time`` funciton similar to ``validators.Date``?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.