MCPcopy Index your code
hub / github.com/clips/pattern / registerDateHandler

Function registerDateHandler

pattern/web/feed/feedparser.py:3093–3095  ·  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

3091
3092_date_handlers = []
3093def registerDateHandler(func):
3094 '''Register a date handler function (takes string, returns 9-tuple date in GMT)'''
3095 _date_handlers.insert(0, func)
3096
3097# ISO-8601 date parsing routines written by Fazal Majid.
3098# 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…