Skip to content

Zoned datetime tweaks#4

Merged
gr-im merged 4 commits into
cargocut:mainfrom
voodoos:zone-datetime-tweaks
Jun 1, 2026
Merged

Zoned datetime tweaks#4
gr-im merged 4 commits into
cargocut:mainfrom
voodoos:zone-datetime-tweaks

Conversation

@voodoos

@voodoos voodoos commented May 30, 2026

Copy link
Copy Markdown
Contributor

This PR is splited in 3 commits:

  • Adds the possibility to specify the timezone when creating a Zoned_datetime from a UTC datetime, in symmetry with symmetric of from_local_datetime
  • Reword some doc comments to make it more explicit when an input datetime is expected to be in local time.
  • Shallow doc comments style changes and uniformisation (third person everywhere, doesn't -> do not)

@voodoos voodoos changed the title Zone datetime tweaks Zoned datetime tweaks May 30, 2026
@voodoos voodoos force-pushed the zone-datetime-tweaks branch from 99a48b6 to 8b5823b Compare May 30, 2026 08:52
@gr-im

gr-im commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Thanks ! I think the changes deserve a Change entry!

@voodoos

voodoos commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

Thank you, I added one in the last commit.

@gr-im gr-im merged commit 6e36f0f into cargocut:main Jun 1, 2026
3 of 4 checks passed
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.

2 participants