code: def _parse_datetime(s):
      """Parse dates in the format returned by the GitHub API."""
      return (
          datetime.strptime(s, ISO8601)
          if s
          else datetime.fromtimestamp(0)
      )
  
file_path: matplotlib/tools/github_stats.py
imports: import sys
  from argparse import ArgumentParser
  from datetime import datetime, timedelta
  from subprocess import check_output
  from gh_api import get_paged_request, make_auth_header, get_pull_request, is_pull_request, get_milestone_id, get_issues_list, get_authors
label_desc: Use image node_id 2 for calling a global function with example usage: _parse_datetime(s) and returns: unknown