def METHOD_NAME():
    """Returns the git commit date for the running codebase."""
    # First look in the environment variables, e.g. if running in docker
    commit_date = os.environ.get('INVENTREE_COMMIT_DATE', '')
    if commit_date:
        return commit_date.split(' ')[0]
    if main_commit is None:
        return None
    commit_dt = dt.fromtimestamp(main_commit.commit_time) + td(seconds=main_commit.commit_timezone)
    return str(commit_dt.date())