From 4d96d06d7036b1084aba982ca5c439e21776bba9 Mon Sep 17 00:00:00 2001 From: Magnus Wahlberg Date: Fri, 23 Jun 2017 08:44:20 +0200 Subject: [PATCH] Update README.rst The example for intervals is missing an "s" >>> import maya >>> maya.interval(start=maya.now(), end=maya.now().add(days=1), interval=60*60) Traceback (most recent call last): File "", line 1, in AttributeError: module 'maya' has no attribute 'interval' >>> maya.intervals(start=maya.now(), end=maya.now().add(days=1), interval=60*60) --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 7546eb8..14217e0 100644 --- a/README.rst +++ b/README.rst @@ -74,7 +74,7 @@ Behold, datetimes for humans! UTC # Range of hours in a day: - >>> maya.interval(start=maya.now(), end=maya.now().add(days=1), interval=60*60) + >>> maya.intervals(start=maya.now(), end=maya.now().add(days=1), interval=60*60) ☤ Advanced Usage of Maya