Theia API Documentation v1.69.0
    Preparing search index...
    • Formats a timestamp as a human-readable relative time string (e.g., "2 hours ago").

      Parameters

      • timestamp: number

        The timestamp in milliseconds

      • addSuffix: boolean = true

        Whether to add "ago" suffix (default: true)

      Returns string