News for hackers. Stuff that matters.
Re:Pendulum – Python datetimes made easy by Walkman on Wednesday August 17, 2016 @02:25AM (#12302841)
I don't understand why this library exists. I am (literally) manipulating datetimes for a living in a Django app this whole year and we don't even have Arrow installed. Pytz and maybe dateutil is all you need.

Also I really hate when someone fragment the energy and their time making a new, inferior library instead of fixing and patching the existings for basic things like this. This way we will have a bunch of incomplete, inferior libraries which all have quirks instead of only one really good one which could everybody use...

Re:Pendulum – Python datetimes made easy by pandatigox on Wednesday August 17, 2016 @05:10AM (#12303304)
I don't see what the big deal is. These people are spending their own time making libraries, and not using up your time. Are you to judge how people should make use of their time?

Second, I think it's great that people are making alternatives - it promotes a healthier ecosystem where people can share good ideas as well.

> instead of fixing and patching the existings Finally, by your logic, the popular requests library shouldn't have existed and Kenneth would have been patching the more conventional urllib library

Re:Pendulum – Python datetimes made easy by Walkman on Wednesday August 17, 2016 @02:40PM (#12307193)
> Are you to judge how people should make use of their time?

This library did not born because of fun, but because of solving a (non-existing) problem from frustration. I would have not said one word if he was doing this for fun or just learning or something like that.

Re:Pendulum – Python datetimes made easy by pandatigox on Wednesday August 17, 2016 @07:57PM (#12309454)
What defines a problem as non-existing/existing? It's very subjective. While it may not be for you, the author definitely saw an issue that needed to be fixed.

Again, I'm using the example of requests: was Kennethwrong to implement something new when there was already a standard lib?

Re:Pendulum – Python datetimes made easy by jsmeaton on Wednesday August 17, 2016 @02:32AM (#12302861)
Django provides django.utils.timezone to make handling dates and times easier. Not every python project has access to django.utils.timezone. pytz is mostly what you need to get timezones right, but there's still room for something like this.
Re:Pendulum – Python datetimes made easy by Walkman on Wednesday August 17, 2016 @02:41PM (#12307203)
good point, but still, there are at least 3-4 libraries which do exactly what this library is trying to do and do a better job at it
Re:Pendulum – Python datetimes made easy by sdispater on Wednesday August 17, 2016 @05:23PM (#12308590)
What libraries? I'm honestly interested to know which ones you refer to.
Re:Pendulum – Python datetimes made easy by Walkman on Thursday August 18, 2016 @06:21AM (#12311424)
Re:Pendulum – Python datetimes made easy by sdispater on Thursday August 18, 2016 @11:05AM (#12313011)
So, basically, you haven't read any of my comments. Arrow is really flawed see https://pendulum.eustace.io/faq/#why-not-arrow and Delorean is not as complete feature-wise as Pendulum. Both of these libraries do not handle properly shifting time around DST transition times which is a big flaw in itself beacause it's not accurate.
Re:Pendulum – Python datetimes made easy by kdeldycke on Tuesday August 23, 2016 @11:21AM (#12344423)
Also manipulating datetimes for a living (telemetry + billing). The reason I stick with Arrow despite its slowing maintainership? Its ability to round up or down time along a granularity: http://crsmithdev.com/arrow/#arrow.arrow.Arrow.floor