my eye

Clean up datetime imports

Committed e69ea2

--- a/web/dt.py
+++ b/web/dt.py

 import pendulum
+import pendulum.datetime
 
 __all__ = ["parse_dt", "now"]
 
 
-def parse_dt(dt: str, **options) -> pendulum.DateTime:
+def parse_dt(dt: str, **options) -> pendulum.datetime.DateTime:
     """Parse `dt` and return a datetime object."""
     return pendulum.parser.parse(dt, **options)
 
 
-def now() -> pendulum.DateTime:
+def now() -> pendulum.datetime.DateTime:
     """Return the current datetime."""
     return pendulum.now("UTC")

--- a/web/headers/entity.py
+++ b/web/headers/entity.py

 import datetime
 import email
 
-from ..dt import now
+import web
+
 from .util import Header
 
 __all__ = [
 
     def __init__(self, when):
         # FIXME either seconds a la TTL or datetime according to W3C
-        now = web.now()
+        now = web.dt.now()
         if isinstance(when, str):
             try:
                 when = int(when)