Skip to content

[3.13] Backport: Fix access log timestamps ignoring daylight savings time (#12085)#12126

Merged
Dreamsorcerer merged 1 commit intoaio-libs:3.13from
nightcityblade:backport-3.13
Feb 22, 2026
Merged

[3.13] Backport: Fix access log timestamps ignoring daylight savings time (#12085)#12126
Dreamsorcerer merged 1 commit intoaio-libs:3.13from
nightcityblade:backport-3.13

Conversation

@nightcityblade
Copy link
Copy Markdown
Contributor

Backport of #12085 to 3.13 branch.

Cherry-pick of 004127a with conflict resolved in test file (updated PatchedDatetime.now signature to match the new implementation).

@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Feb 22, 2026
Comment thread aiohttp/web_log.py Outdated
Comment thread aiohttp/web_log.py Outdated
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.27%. Comparing base (ceb098b) to head (57e131c).
⚠️ Report is 2 commits behind head on 3.13.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             3.13   #12126      +/-   ##
==========================================
- Coverage   98.28%   98.27%   -0.01%     
==========================================
  Files         128      128              
  Lines       44625    44683      +58     
  Branches     2428     2429       +1     
==========================================
+ Hits        43859    43914      +55     
- Misses        590      593       +3     
  Partials      176      176              
Flag Coverage Δ
CI-GHA 98.16% <100.00%> (-0.01%) ⬇️
OS-Linux 97.91% <100.00%> (-0.01%) ⬇️
OS-Windows 95.60% <100.00%> (+<0.01%) ⬆️
OS-macOS 97.18% <100.00%> (+0.01%) ⬆️
Py-3.10.11 96.71% <100.00%> (+<0.01%) ⬆️
Py-3.10.19 97.19% <100.00%> (+<0.01%) ⬆️
Py-3.11.14 97.38% <100.00%> (+0.01%) ⬆️
Py-3.11.9 96.90% <100.00%> (+<0.01%) ⬆️
Py-3.12.10 96.99% <100.00%> (+<0.01%) ⬆️
Py-3.12.12 97.47% <100.00%> (+<0.01%) ⬆️
Py-3.13.11 97.47% <100.00%> (+<0.01%) ⬆️
Py-3.13.12 96.98% <100.00%> (+0.01%) ⬆️
Py-3.14.2 97.38% <100.00%> (+<0.01%) ⬆️
Py-3.14.3 96.89% <100.00%> (+<0.01%) ⬆️
Py-3.14.3t 96.71% <100.00%> (+<0.01%) ⬆️
Py-3.9.13 96.60% <100.00%> (+<0.01%) ⬆️
Py-3.9.25 97.08% <100.00%> (-0.01%) ⬇️
Py-pypy3.11.13-7.3.20 96.79% <13.63%> (-0.12%) ⬇️
VM-macos 97.18% <100.00%> (+0.01%) ⬆️
VM-ubuntu 97.91% <100.00%> (-0.01%) ⬇️
VM-windows 95.60% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment thread tests/test_web_log.py Outdated
Comment thread tests/test_web_log.py Outdated
Comment thread tests/test_web_log.py Outdated
)

Backport of aio-libs#12085 to 3.13 branch. Uses Optional[] syntax for Python 3.9 compatibility.
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Feb 22, 2026

Merging this PR will not alter performance

✅ 59 untouched benchmarks


Comparing nightcityblade:backport-3.13 (57e131c) with 3.13 (ceb098b)

Open in CodSpeed

@Dreamsorcerer Dreamsorcerer merged commit 7438e8d into aio-libs:3.13 Feb 22, 2026
42 checks passed
wavebyrd pushed a commit to wavebyrd/aiohttp that referenced this pull request Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided There is a change note present in this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants