realpython / python-guide

Python best practices guidebook, written for humans.
https://docs.python-guide.org
Other
28.31k stars 5.83k forks source link

Add "Working with dates Section" #468

Open themiurgo opened 10 years ago

themiurgo commented 10 years ago

There are plenty of libraries to choose from, when working with dates and times (python-dateutil, parsedatetime, arrow, ...)., and choosing one is not trivial. I was wondering if such a section might be useful in this book and where it should be placed. Perhaps "Scenario Guide > Date and time"?.

sigmavirus24 commented 10 years ago

It seems like a reasonable addition but I'm not sure if we want to discuss every relatively common topic for which there are many libraries for a new Pythonista to choose from. Sometimes it is helpful and sometimes it is too much information. @kennethreitz what do you think?

arpit1997 commented 8 years ago

@sigmavirus24 @themiurgo Well, working with dates is a way too common task and one can easily learn about working with dates and timezone. Even python official docs includes a documentation for it. Since this is a standard library and provides many features so you can use it.

kennethreitz commented 8 years ago

very helpful, if done correctly

wxtim commented 5 years ago

Has anyone undertaken this?