code: def _make_string_formatter(f, offset=None):
    
    format = f
    delta = offset
    return lambda v: time.strftime(format, (_date(v, delta)).timetuple())
docs: A closure-izer for string arguments that include a format and possibly an offset.