Skip to content

Replace deprecated datetime module APIs#446

Merged
jelmer merged 1 commit intotesting-cabal:masterfrom
kajinamit:datetime
Jun 17, 2025
Merged

Replace deprecated datetime module APIs#446
jelmer merged 1 commit intotesting-cabal:masterfrom
kajinamit:datetime

Conversation

@kajinamit
Copy link
Copy Markdown
Contributor

The following methods were deprecated in Python 3.12.

  • datetime.datetime.utcnow [1]
  • datetime.datetime.fromtimestamp [2]

[1] https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow
[2] https://docs.python.org/3/library/datetime.html#datetime.datetime.utcfromtimestamp

The following methods were deprecated in Python 3.12.
 * datetime.datetime.utcnow [1]
 * datetime.datetime.fromtimestamp [2]

[1] https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow
[2] https://docs.python.org/3/library/datetime.html#datetime.datetime.utcfromtimestamp
@jelmer jelmer merged commit ad07e4b into testing-cabal:master Jun 17, 2025
7 checks passed
@kajinamit kajinamit deleted the datetime branch June 17, 2025 12:02
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