commit 699e7bb3b0b58e6c4db0d262bcdfabc84a4f0be0 Author: Kenneth Reitz Date: Thu Dec 15 19:16:52 2016 -0500 maya! diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..bf6005c --- /dev/null +++ b/README.rst @@ -0,0 +1,23 @@ +Maya: Datetime for Humans™ +========================== + +Datetimes are very frustrating to work with in Python, especially when dealing +with different locales on different systems. This library exists to + + +Note that outputs are fuzzy and made up, just playing with an API here:: + + >>> now = maya.now() + + + >>> tomorrow = now.forwards('one day') + + + >>> tomorrow.iso8601 + 2016-12-16T00:12:54+00:00 + + >>> tomorrrow.iso8601 + Fri, 17 Dec 2016 00:12:54 +0000 + + >>> tomorrow = maya.import('tomorrow').datetime + datetime.datetime(2016, 12, 16, 0, 14, 33, 950436) diff --git a/maya.py b/maya.py new file mode 100644 index 0000000..e69de29