Documentation
    Preparing search index...

    Function getRelativeDateLabel

    • Returns a label for the given Date relative to the current (or optionally the given) Date, in local time (e.g. yesterday | 1 week ago).

      Parameters

      • date: Date
      • comparisonDate: Date = ...

      Returns string