def filter_to_utc(dt): """Convert a datetime object to UTC and drop tzinfo. Installed on application as ``toutc``. """ return to_utc(dt)
def filter_to_utc(dt): """Convert a datetime object to UTC and drop tzinfo.""" return to_utc(dt)