秒數 → 人類可讀(中文/英文)。例: 7325 → "2 小時 2 分鐘 5 秒" / "2h 2m 5s"。
Parameters
| Param | Type | Description |
|---|---|---|
| seconds * | number | — |
| language | "zh-tw" | "en" | — |
Raw JSON 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",
"additionalProperties": false
}How to call
Starter — params in the table above
tw_duration_humanize({ seconds: 10 })Same family More tools
ly_legislator_profileTaiwan legislator profile · bills, interpellations, speeches, votesly_law_historyTaiwan law legislative history · article versions with legislative reasonsly_vote_lookupTaiwan Legislative Yuan floor votes · who voted how, by partyly_gazette_searchTaiwan Legislative Yuan gazettes · full-text search
See the whole family