Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@haxor@derp.fooMB to Hacker News@derp.fooEnglish • 2 years ago

It's Time for a Change: Datetime.utcnow() Is Now Deprecated

blog.miguelgrinberg.com

external-link
message-square
0
fedilink
  • cross-posted to:
  • python@programming.dev
  • hackernews@lemmy.smeargle.fans
10
external-link

It's Time for a Change: Datetime.utcnow() Is Now Deprecated

blog.miguelgrinberg.com

@haxor@derp.fooMB to Hacker News@derp.fooEnglish • 2 years ago
message-square
0
fedilink
  • cross-posted to:
  • python@programming.dev
  • hackernews@lemmy.smeargle.fans
It's Time For A Change: datetime.utcnow() Is Now Deprecated
blog.miguelgrinberg.com
external-link
I was going through the release notes of the new Python 3.12 version the other day, and one item caught my attention in the deprecations section:datetime.datetime’s utcnow() and utcfromtimestamp()…

There is a discussion on Hacker News, but feel free to comment here as well.

alert-triangle
You must log in or register to comment.

Hacker News@derp.foo

!hackernews@derp.foo
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !hackernews@derp.foo

This community serves to share top posts on Hacker News with the wider fediverse.

Rules
  1. Keep it legal
  2. Keep it civil and SFW
  3. Keep it safe for members of marginalised groups
  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 1 subscriber
  • 16K Posts
  • 10.3K Comments
  • Modlog
  • mods:
  • @haxor@derp.foo
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org