(node, respMap)
| 1945 | |
| 1946 | |
| 1947 | function procOpenai(node, respMap) { |
| 1948 | let text = format(node.textContent); |
| 1949 | if (text && withoutChinese(text)) { |
| 1950 | let dateOrFalse = parseDateOrFalse(text); |
| 1951 | if (dateOrFalse) { |
| 1952 | node.textContent = `${dateOrFalse.getFullYear()}-${dateOrFalse.getMonth() + 1}-${dateOrFalse.getDate()}`; |
| 1953 | return; |
| 1954 | } |
| 1955 | |
| 1956 | processNode(node, textType.textContent, respMap); |
| 1957 | } |
| 1958 | } |
| 1959 | |
| 1960 | |
| 1961 | // 适配 maven |
nothing calls this directly
no test coverage detected