Skip to main content
Version: Next

normalizeDateObsString

Callable

  • normalizeDateObsString(dateObs: string): string

  • Normalizes a FITS DATE-OBS string to the ISO-8601 form understood by AST. Handles the legacy 'DD/MM/YY' format (which by FITS convention refers to years 1900-1999); other strings are returned trimmed and unmodified.


    Parameters

    • dateObs: string

    Returns string