You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,25 @@
1
+
## v1.2.1 (2024-09-19)
2
+
3
+
### 🐛 Bug Fixes
4
+
-**fix(handlers)**: Use `localtime()` to respect `TIME_ZONE` setting. ([80322cf](https://github.com/lazarus-org/django_logging/commit/80322cf))
5
+
- Replaced `timezone.now()` with `timezone.localtime()` in `EmailHandler` to ensure the correct local time is used for log emails, matching the configured `TIME_ZONE` setting.
6
+
7
+
### 📚 Documentation
8
+
-**docs(handlers)**: Add detailed docstrings to `EmailHandler` class and methods. ([4dc7db1](https://github.com/lazarus-org/django_logging/commit/4dc7db1))
9
+
- Added comprehensive docstrings to the `EmailHandler` class and its methods (`emit` and `render_template`) to improve code documentation and readability.
10
+
11
+
### ✅ Tests
12
+
-**tests(settings)**: Update test settings to include `TIME_ZONE` configuration. ([94bc68a](https://github.com/lazarus-org/django_logging/commit/94bc68a))
13
+
- Updated test settings to include `TIME_ZONE` related configurations to ensure the correct behavior when `timezone.localtime()` is used in `EmailHandler`.
14
+
15
+
### ⚡️ Miscellaneous
16
+
-**Update(SECURITY)**: Fix typo in Markdown file. ([23a9260](https://github.com/lazarus-org/django_logging/commit/23a9260))
17
+
- Minor typo correction in the security documentation.
0 commit comments