code: def _parse_datetime(s):
      """Parse dates in the format returned by the Github API."""
      if s:
          return datetime.strptime(s, ISO8601)
      else:
          return datetime.fromtimestamp(0)
  
imports: import os
  import json
  import urllib
  import re
  import yaml
  from urllib.request import urlopen
  from datetime import datetime, timedelta
  import requests
label_desc: Use image node_id 10 for calling a global function with example usage: _parse_datetime(s) and returns: datetime, datetime