Skip to main content
Glama
TimeFormatting.swift450 B
import Foundation import PeekabooCore // MARK: - Time Formatting Helpers // Re-export the formatDuration function from PeekabooCore for backward compatibility public func formatDuration(_ seconds: TimeInterval) -> String { PeekabooCore.formatDuration(seconds) } /// Format a date as a human-readable time ago string public func formatTimeAgo(_ date: Date, from now: Date = Date()) -> String { PeekabooCore.formatTimeAgo(date, from: now) }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/steipete/Peekaboo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server