3 i� [W � @ s( d Z ddlmZ ddlmZ ddgZdS )a� pyRFC3339 parses and generates :RFC:`3339`-compliant timestamps using Python :class:`datetime.datetime` objects. >>> from pyrfc3339 import generate, parse >>> from datetime import datetime >>> import pytz >>> generate(datetime.utcnow().replace(tzinfo=pytz.utc)) #doctest:+ELLIPSIS '...T...Z' >>> parse('2009-01-01T10:01:02Z') datetime.datetime(2009, 1, 1, 10, 1, 2, tzinfo=<UTC>) >>> parse('2009-01-01T14:01:02-04:00') datetime.datetime(2009, 1, 1, 14, 1, 2, tzinfo=<UTC-04:00>) � )�generate)�parser r N)�__doc__Zpyrfc3339.generatorr Zpyrfc3339.parserr �__all__� r r �/usr/lib/python3.6/__init__.py�<module> s
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__init__.cpython-36.opt-1.pyc | File | 742 B | 0644 |
|
__init__.cpython-36.pyc | File | 742 B | 0644 |
|
generator.cpython-36.opt-1.pyc | File | 2.08 KB | 0644 |
|
generator.cpython-36.pyc | File | 2.08 KB | 0644 |
|
parser.cpython-36.opt-1.pyc | File | 2.78 KB | 0644 |
|
parser.cpython-36.pyc | File | 2.78 KB | 0644 |
|
utils.cpython-36.opt-1.pyc | File | 3.86 KB | 0644 |
|
utils.cpython-36.pyc | File | 3.86 KB | 0644 |
|