@wdprlib/runtime
    Preparing search index...

    Function initOdate

    • Initialize odate processing for all <span class="odate"> elements within root.

      Scans for every span.odate and replaces its text content with the formatted date string in the user's local timezone. The returned handle removes listeners used to refresh elapsed-time tooltips.

      Parameters

      • root: HTMLElement

        The root DOM element containing rendered Wikidot markup.

      Returns ModuleCleanup