Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

        def _dateToString(d):
    return '%04d-%02d-%02dT%02d:%02d:%02dZ' % (
        d.year, d.month, d.day,
        d.hour, d.minute, d.second
    )
        


src/s/e/SerializedDataConverter-HEAD/lib/sublime_include/st3/plist.py   SerializedDataConverter(Download)
            count += 1
    elif isinstance(obj, datetime.datetime):
        obj = plistlib._dateToString(obj)
 
    return obj

src/s/e/SerializedDataConverter-HEAD/lib/sublime_include/st2/plist.py   SerializedDataConverter(Download)
            count += 1
    elif isinstance(obj, datetime.datetime):
        obj = plistlib._dateToString(obj)
 
    return obj