(date)
| 4 | import { checkEnvs, declareLocalType, exitWithDbClose, loadEnv, testDbConnect } from './utils.mjs' |
| 5 | |
| 6 | function formatDate(date) { |
| 7 | if (!(date instanceof Date)) return '-' |
| 8 | return date.toLocaleString('zh-CN', { hour12: false }) |
| 9 | } |
| 10 | |
| 11 | async function main() { |
| 12 | await loadEnv() |