code: def RELATIVE_DATETIME_CONTEXT() -> DatetimeTickFormatter:
      return DatetimeTickFormatter(
          microseconds="%T",
          milliseconds="%T",
          seconds="%H:%M",
          minsec="%Hh",
          minutes="%Hh",
          hourmin="%F",
          hours="%F",
          days="%Y",
          months="",
          years="",
      )
  
imports: from __future__ import annotations
  import logging
  from ..core.enums import ContextWhich, LatLon, LocationType, NumeralLanguage, ResolutionType, RoundingFunction
  from ..core.has_props import abstract
  from ..core.properties import AnyRef, Auto, Bool, Dict, Either, Enum, Instance, Int, List, Nullable, Seq, String
  from ..core.validation import error
  from ..core.validation.errors import MISSING_MERCATOR_DIMENSION
  from ..model import Model
  from ..util.deprecation import deprecated
  from ..util.strings import format_docstring
  from ..util.warnings import warn
  from .tickers import Ticker
label_desc: Use image node_id 4 for calling a global function with example usage: RELATIVE_DATETIME_CONTEXT() and returns: DatetimeTickFormatter