文本日期格式统一器
在文本内容中查找并统一日期格式
API 文档
请求端点
POST /zh/api/tools/text-date-format-unifier
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| textContent | textarea | 是 | - |
| inputFormat | select | 否 | - |
| targetFormat | select | 否 | - |
| customFormat | text | 否 | 使用YYYY, MM, DD, HH, mm, ss模式。例如:YYYY-MM-DD HH:mm:ss |
| timezone | select | 否 | - |
| preserveOriginal | checkbox | 否 | - |
| replaceAll | checkbox | 否 | - |
| caseSensitive | checkbox | 否 | - |
| wholeWord | checkbox | 否 | - |
响应格式
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
文本:
文本
AI MCP 文档
将此工具添加到您的 MCP 服务器配置中:
{
"mcpServers": {
"elysiatools-text-date-format-unifier": {
"name": "text-date-format-unifier",
"description": "在文本内容中查找并统一日期格式",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=text-date-format-unifier",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
你可以串联多个工具,比如:`https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`,最多20个。
如果遇见问题,请联系我们:[email protected]