feat: 添加 moment-timezone 依赖,更新许可证过期时间逻辑为中国时区,优化日期处理

This commit is contained in:
chengchongzhen
2024-12-31 09:27:15 +08:00
parent 9bf7217fa2
commit e5539045b8
6 changed files with 69 additions and 19 deletions

View File

@@ -13,6 +13,7 @@
"dotenv": "^16.3.1",
"express": "^4.18.2",
"moment": "^2.29.4",
"moment-timezone": "^0.5.46",
"mongoose": "^8.0.3"
},
"devDependencies": {
@@ -797,6 +798,17 @@
"node": "*"
}
},
"node_modules/moment-timezone": {
"version": "0.5.46",
"resolved": "https://registry.npmmirror.com/moment-timezone/-/moment-timezone-0.5.46.tgz",
"integrity": "sha512-ZXm9b36esbe7OmdABqIWJuBBiLLwAjrN7CE+7sYdCCx82Nabt1wHDj8TVseS59QIlfFPbOoiBPm6ca9BioG4hw==",
"dependencies": {
"moment": "^2.29.4"
},
"engines": {
"node": "*"
}
},
"node_modules/mongodb": {
"version": "6.12.0",
"resolved": "https://registry.npmmirror.com/mongodb/-/mongodb-6.12.0.tgz",