Twinkle HubTwinkle Hub
Sign in

📌 2026-06-30 added: 🎓 Teacher exam dual corpus — 12,731 qualification questions + 2,421 recruitment questions (519 datasets)

View full changelog →

Humanize duration

twtools-duration_humanize

GenericMIT

秒數 → 人類可讀(中文/英文)。例: 7325 → "2 小時 2 分鐘 5 秒" / "2h 2m 5s"。

Input schema

{
  "properties": {
    "seconds": {
      "title": "Seconds",
      "type": "number"
    },
    "language": {
      "default": "zh-tw",
      "enum": [
        "zh-tw",
        "en"
      ],
      "title": "Language",
      "type": "string"
    }
  },
  "required": [
    "seconds"
  ],
  "title": "duration_humanizeArguments",
  "type": "object"
}

How to call

Once your Twinkle Hub MCP client is configured, your agent will see twtools-duration_humanize. Just ask it to call — example:

# Ask Claude / any MCP client:
請用 twtools-duration_humanize 處理 "…"。

# It will call:
twtools-duration_humanize(input="…")

Haven't set up a client yet?

Claude Desktop in 3 minutes — download the .mcpb and double-click, or see docs for other clients.

See user docs