MCPcopy Index your code
hub / github.com/pyload/pyload / registerDateHandler

Function registerDateHandler

module/lib/feedparser.py:2942–2944  ·  view source on GitHub ↗

Register a date handler function (takes string, returns 9-tuple date in GMT)

(func)

Source from the content-addressed store, hash-verified

2940
2941_date_handlers = []
2942def registerDateHandler(func):
2943 '''Register a date handler function (takes string, returns 9-tuple date in GMT)'''
2944 _date_handlers.insert(0, func)
2945
2946# ISO-8601 date parsing routines written by Fazal Majid.
2947# The ISO 8601 standard is very convoluted and irregular - a full ISO 8601

Callers 1

feedparser.pyFile · 0.85

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected