Skip to content

PyDate::from_timestamp: properly take a float as argument#5896

Merged
bschoenmaeckers merged 1 commit intoPyO3:mainfrom
Tpt:tpt/fromtimestamp
Mar 19, 2026
Merged

PyDate::from_timestamp: properly take a float as argument#5896
bschoenmaeckers merged 1 commit intoPyO3:mainfrom
Tpt:tpt/fromtimestamp

Conversation

@Tpt
Copy link
Contributor

@Tpt Tpt commented Mar 19, 2026

Doc: https://docs.python.org/3/library/datetime.html#datetime.date.fromtimestamp

This is what is already done in PyDateTime::from_timestamp

@Tpt Tpt force-pushed the tpt/fromtimestamp branch from 47a1f51 to 078ba9a Compare March 19, 2026 14:54
@Tpt Tpt marked this pull request as ready for review March 19, 2026 15:34
@bschoenmaeckers bschoenmaeckers added this pull request to the merge queue Mar 19, 2026
Merged via the queue into PyO3:main with commit 17a3486 Mar 19, 2026
45 of 46 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