summaryrefslogtreecommitdiff
path: root/tests/forms_tests/widget_tests/test_selectdatewidget.py
AgeCommit message (Collapse)Author
2026-01-18Applied Black's 2026 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/26.1.0
2025-11-13Fixed #36724 -- Removed invalid "for" attribute on <legend> tags.Kasyap Pentamaraju
2023-11-28Refs #34986 -- Fixed some test assertions for PyPy.Nick Pope
These failures were due to minor inconsistencies or implementation differences between CPython and PyPy.
2023-03-22Fixed #34424 -- Fixed SelectDateWidget crash for inputs raising OverflowError.Jure Slak
2023-01-17Refs #32873 -- Removed settings.USE_L10N per deprecation timeline.Mariusz Felisiak
2022-03-30Refs #32339 -- Added use_fieldset to Widget.David
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-09-14Fixed #32873 -- Deprecated settings.USE_L10N.Claude Paroz
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-05-12Refs #32738 -- Added sanitize_strftime_format() to replace datetime_safe.Nick Pope
2020-07-10Refs #30578 -- Made SelectDateWidget.format_value() independent of USE_L10N.Claude Paroz
2019-11-21Fixed #31012 -- Reverted "Fixed #29056 -- Fixed HTML5 validation of required ↵Carlton Gibson
SelectDateWidget." This reverts commit f038214d917c982613f5a15db8dfe325b1f7479b. The initial issue was incorrect. Django 2.2, and before, did not generate invalid HTML as reported. With f03821 in place invalid HTML was generated. Thanks to Kevin Brown for follow-up report and investigation.
2019-06-26Fixed #30578 - Made SelectDateWidget respect a custom date format when ↵Shubham Bhagat
USE_L10N is disabled.
2019-05-08Fixed #29056 -- Fixed HTML5 validation of required SelectDateWidget.Hasan Ramezani
placeholder is required for "select" with "required" attribute.
2018-08-01Fixed typos in comments and docs.luz.paz
2018-07-26Refs #29600 -- Added test for datetime_safe usage in ↵Tim Graham
SelectDateWidget.value_from_datadict().
2018-01-30Fixed #29036 -- Fixed HTML5 required validation on SelectDateWidget if the ↵Vlastimil Zíma
attribute is added by JavaScript. Thanks Tim Graham for the initial patch.
2018-01-30Added tests for SelectDateWidget.value_from_datadict().Tim Graham
2017-08-29Fixed #28530 -- Prevented SelectDateWidget from localizing years in output.caleb logan
2017-03-18Fixed #27724 -- Fixed SelectDateWidget redisplay if a year isn't chosen.Adonys Alea Boffill
2017-03-18Added tests for SelectDateWidget.format_value().Adonys Alea Boffill
2016-09-22Fixed #27186 -- Fixed model form default fallback for MultiWidget, ↵Tim Graham
FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget. Thanks Matt Westcott for the review.
2016-09-21Fixed #27256 -- Changed Select widget's selected attribute to use HTML5 ↵Jon Dufresne
boolean syntax.
2016-01-29Refs #26022 -- Used context manager version of assertRaisesMessage in tests.Hasan
2015-08-31Rewrote form widget tests as proper unittests.Preston Timmons
This is preparation for landing the template-based widget rendering patch and goes a long way to making these tests more useful for future development. The old doctest heritage is strong here.