Skip to content

Commit

Permalink
Prepare 0.12.4
Browse files Browse the repository at this point in the history
  • Loading branch information
silentsokolov committed Apr 13, 2024
1 parent 79b0e16 commit ef6460a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## [Unreleased]

## [0.12.4] - 2024-04-13
### Fix
- Typo

## [0.12.3] - 2024-04-13
### Fix
- Typo
Expand Down Expand Up @@ -213,7 +217,8 @@ Its useful for definition custom title or initial (default) values.
- Add get_timezone
- Drop support Django < 1.8

[Unreleased]: https://github.com/silentsokolov/django-admin-rangefilter/compare/0.12.3...HEAD
[Unreleased]: https://github.com/silentsokolov/django-admin-rangefilter/compare/0.12.4...HEAD
[0.12.4]: https://github.com/silentsokolov/django-admin-rangefilter/compare/v0.12.3...v0.12.4
[0.12.3]: https://github.com/silentsokolov/django-admin-rangefilter/compare/v0.12.2...v0.12.3
[0.12.2]: https://github.com/silentsokolov/django-admin-rangefilter/compare/v0.12.1...v0.12.2
[0.12.1]: https://github.com/silentsokolov/django-admin-rangefilter/compare/v0.12.0...v0.12.1
Expand Down
2 changes: 1 addition & 1 deletion rangefilter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import django

__author__ = "Dmitriy Sokolov"
__version__ = "0.12.3"
__version__ = "0.12.4"

if django.VERSION < (3, 2):
default_app_config = "rangefilter.apps.RangeFilterConfig"
Expand Down
2 changes: 1 addition & 1 deletion rangefilter/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def _make_query_filter(self, request, validated_data):
)
if date_value_lte:
end_dt = self.make_dt_aware(date_value_lte, self.get_timezone(request))
if not USE_END_MICROSECOND:
if USE_END_MICROSECOND:
end_dt = end_dt.replace(microsecond=999999)

query_params["{0}__lte".format(self.field_path)] = end_dt
Expand Down

0 comments on commit ef6460a

Please sign in to comment.