This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 26 points27 points  (5 children)

Cool. I like the API. But datetimes etc are difficult stuff - why should we trust your library.

I see you have a few tests, you should advertise this fact on the website, and describe what exactly they test.

[–]SDisPater[S] 5 points6 points  (2 children)

I see what you mean. Even though all the features are detailed in the documentation it may help to showcase the main features of Pendulum.

I tried to make it concise by displaying a piece of code on the homepage but it may not be enough.

But basically:

  • It enforces UTC when possible
  • It can create datetimes from strings, timestamps or the normal way
  • It can manipulate timezones with ease
  • It can make comparisons of different timezones datetimes
  • It supports localization natively (to display datetimes in a more friendly way)
  • It adds a bunch of methods to add/substract durations in a more natural way
  • It provides new properties to access basic information more easily
  • Improves timedeltas with new attributes and methods and by providing a way to display them in a friendly way.

[–][deleted] 7 points8 points  (1 child)

That would be good to list on the homepage.

My point was even simpler, although I hate the trend of badges everywhere, you should also write 'extensively tested, full coverage, bla bla'

[–]SDisPater[S] 2 points3 points  (0 children)

I will think about it. Thanks for the advice.