Skip to main content
Glama
K8sDate.ts323 B
const K8sDate = (str: string) => { // 转换为本地时间 const formatLocalTime = (utcTime?: string) => { if (!utcTime) return '未知时间'; const date = new Date(utcTime); return date.toLocaleString(); // 本地格式 }; return formatLocalTime(str); }; export default K8sDate;

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/weibaohui/k8m'

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