From 7c47796ac6a740ea2da9bdce11d79cb02ee825c2 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 9 Feb 2017 17:18:44 -0500 Subject: [PATCH] Update README.rst --- README.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 357c3da..8d1e7da 100644 --- a/README.rst +++ b/README.rst @@ -40,11 +40,17 @@ Behold, datetimes for humans! >>> tomorrow.slang_time() '23 hours from now' + # Also: MayaDT.from_iso8601(...) >>> tomorrow.iso8601() - '2016-12-16T15:11:30.263350Z' + '2017-02-10T22:17:01.445418Z' + # Also: MayaDT.from_rfc2822(...) >>> tomorrow.rfc2822() - 'Fri, 16 Dec 2016 20:11:30 -0000' + 'Fri, 10 Feb 2017 22:17:01 GMT' + + # Also: MayaDT.from_rfc3339(...) + >>> tomorrow.rfc3339() + '2017-02-10T22:17:01.44Z' >>> tomorrow.datetime() datetime.datetime(2016, 12, 16, 15, 11, 30, 263350, tzinfo=)