Lemdro.id
  • Communities
  • Create Post
  • 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
9
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
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

Subscribe from Remote Instance

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
lock
Community locked: only moderators can create posts. You can still comment on posts.

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
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 2 users / week
  • 2 users / month
  • 2 users / 6 months
  • 10 local subscribers
  • 8 subscribers
  • 9.24K Posts
  • 6.11K Comments
  • Modlog
  • mods:
  • haxor@derp.foo
  • UI: 0.19.8
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org