Add datetime chapter - #64
Conversation
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ab1c3fd050
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
13997c1 to
e590ae4
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
datetime, in English, Brazilian Portuguese, and Spanishdate,time,datetime,timedelta, parsing, formatting, ISO-oriented helpers, naive versus aware datetimes, UTC, fixed offsets, timezone conversion, timestamps, and deterministic time calculationstimedelta.secondsversustotal_seconds(), fixed durations versus calendar months,astimezone()versusreplace(tzinfo=...), and fixed offsets versus geographic time zoneszoneinfoconceptually without making deterministic examples depend on an external timezone databasejsonbeyond basic persistence as the next planned chapterValidation
ast.parsegit diff --checkand Python compilation passedmainat3b9279641ba18e2fceb6eab8b264718c9fa5aea2References
The chapter is grounded in the official Python 3.14 documentation for
datetime,strftime()/strptime()format codes, andzoneinfo.