Heroic Lands Heroic Lands
Home Thalorna Blog
Projects
Song of Heroic Lands HârnMaster 3 Modules API Documentation KnowledgeBase
License
  • Preparing search index...
  • The search index is not available
Song of Heroic Lands API - v0.8.2
  • Song of Heroic Lands API
  • sohl
  • core
  • logic
  • formatDefault

Function formatDefault

  • formatDefault(
        calendar: CalendarData<TimeComponents>,
        components: TimeComponents,
        _options?: PlainObject,
    ): string
  • Format time components using the default formatting rules.

    Parameters

    • calendar: CalendarData<TimeComponents>

      The calendar to use for formatting

    • components: TimeComponents

      The time components to format

    • _options: PlainObject = {}

      Formatting options (not used)

    Returns string

    The formatted timestamp

    Remarks

    SoHL calendar: "15 Highsun 722TR 14:30:00". Foreign calendar: "15 {monthName} {year} 14:30:00" (no era data).

    • Defined in src/core/logic/sohl-calendar-logic.ts:64

Settings

Member Visibility
Song of Heroic Lands API - v0.8.2
  • Loading...

Generated using TypeDoc with typedoc-github-theme

© 2020–2026 Tom Rodriguez. Content under The World of Thalorna and Song of Heroic Lands is licensed under CC BY-SA 4.0; all other content is © Tom Rodriguez, all rights reserved. See License.

CC BY-SA 4.0 Discord