Skip to content

Add datetime chapter - #64

Merged
RamonRDR merged 1 commit into
mainfrom
phase-08-datetime
Aug 28, 2026
Merged

Add datetime chapter#64
RamonRDR merged 1 commit into
mainfrom
phase-08-datetime

Conversation

@RamonRDR

Copy link
Copy Markdown
Owner

Summary

  • add Phase 8 Chapter 02, Working with Dates and Time Calculations Using datetime, in English, Brazilian Portuguese, and Spanish
  • teach date, time, datetime, timedelta, parsing, formatting, ISO-oriented helpers, naive versus aware datetimes, UTC, fixed offsets, timezone conversion, timestamps, and deterministic time calculations
  • explain important boundaries such as timedelta.seconds versus total_seconds(), fixed durations versus calendar months, astimezone() versus replace(tzinfo=...), and fixed offsets versus geographic time zones
  • introduce zoneinfo conceptually without making deterministic examples depend on an external timezone database
  • add four deterministic executable examples
  • link Chapter 01 forward to Chapter 02
  • synchronize the Phase 8 indexes, repository status pages, learning paths, roadmaps, project-structure documents, and approved example manifest
  • mark json beyond basic persistence as the next planned chapter

Validation

  • 35 fenced Python blocks are identical across EN / PT-BR / ES and syntax-checked with ast.parse
  • 4 new executable examples, raising the approved manifest from 124 to 128 examples
  • 11 repository unit tests passed
  • all 128 approved examples passed
  • 1,956 internal Markdown links across 199 Markdown files checked successfully
  • repository structure validation passed
  • git diff --check and Python compilation passed
  • exactly 26 changed files
  • one focused commit based exactly on main at 3b9279641ba18e2fceb6eab8b264718c9fa5aea2

References

The chapter is grounded in the official Python 3.14 documentation for datetime, strftime() / strptime() format codes, and zoneinfo.

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread standard-library/02-datetime/README.pt-BR.md Outdated

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: e590ae4a8e

ℹ️ 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".

@RamonRDR
RamonRDR merged commit 01a01ee into main Aug 28, 2026
1 check passed
@RamonRDR
RamonRDR deleted the phase-08-datetime branch August 28, 2026 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant