chaimi-keep-mcp 3.3.3-beta.1 → 3.3.3-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +1 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chaimi-keep-mcp",
3
- "version": "3.3.3-beta.1",
3
+ "version": "3.3.3-beta.2",
4
4
  "description": "柴米AI记账 MCP Server - 支持 Claude、Cursor、OpenClaw、WorkBuddy 等 AI 工具直接记账",
5
5
  "main": "server.js",
6
6
  "bin": {
package/server.js CHANGED
@@ -1855,13 +1855,7 @@ function formatDateWithTimezone(dateInput) {
1855
1855
  timestamp = parseInt(dateInput, 10);
1856
1856
  }
1857
1857
 
1858
- // 检测是否是假的时间戳(秒级转毫秒级,结尾是000)
1859
- if (timestamp && timestamp % 1000 === 0 && String(timestamp).length === 13) {
1860
- console.error(`⚠️ 警告:检测到可能错误的时间戳(秒级转毫秒级):${timestamp},使用当前时间替代`);
1861
- return Date.now();
1862
- }
1863
-
1864
- // 如果是数字时间戳且没问题,直接返回
1858
+ // 如果是数字时间戳,直接返回
1865
1859
  if (timestamp) {
1866
1860
  return timestamp;
1867
1861
  }