summaryrefslogtreecommitdiff
path: root/tests/datetimes
Commit message (Collapse)AuthorAgeFilesLines
* Refs #32365 -- Removed support for pytz timezones per deprecation timeline.Mariusz Felisiak2023-01-171-48/+1
|
* Replaced assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() ↵Mariusz Felisiak2022-10-071-1/+1
| | | | | where appropriate. Follow up to 3f7b3275627385f8f7531fca01cdda50d4ec6b6e.
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-072-46/+73
|
* Fixed #32365 -- Made zoneinfo the default timezone implementation.Carlton Gibson2021-09-161-3/+10
| | | | | Thanks to Adam Johnson, Aymeric Augustin, David Smith, Mariusz Felisiak, Nick Pope, and Paul Ganssle for reviews.
* Refs #32508 -- Raised Type/ValueError instead of using "assert" in ↵Daniyal2021-07-151-0/+13
| | | | | | django.db.models. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.Hasan Ramezani2020-11-061-22/+31
| | | | | | | | This also replaces assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate. Co-authored-by: Peter Inglesby <peter.inglesby@gmail.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Refs #29724 -- Added is_dst parameter to QuerySet.datetimes().Hasan Ramezani2020-03-201-0/+36
| | | | Thanks Simon Charette for the review and Mariusz Felisiak for tests.
* Fixed #28650 -- Added TruncWeek database function.Sigurd Ljødal2018-01-271-0/+9
|
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-3/+0
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-182-4/+0
|
* Fixed #27327 -- Simplified time zone handling by requiring pytz.Tim Graham2016-10-271-7/+0
|
* Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with ↵Mads Jensen2016-09-131-10/+5
| | | | assertSequenceEqual().
* Fixed #25774 -- Refactor datetime expressions into public APIJosh Smeaton2016-05-182-0/+7
|
* Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella2015-07-271-1/+1
| | | | ForeignKey/OneToOneField
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-6/+5
|
* Split tests.basic.ModelTests in several tests; refs #18586.zsoldosp2014-06-251-0/+57
|
* Fixed #21432 -- DateTimeQuery now copies tzinfo when cloning.Loic Bistuer2013-11-141-1/+17
| | | | Thanks Enrique Martínez for the report and @bmispelon for the tests.
* PEP8 cleanupJason Myers2013-11-021-0/+2
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Removed most of absolute_import importsClaude Paroz2013-07-291-1/+1
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-263-0/+111