阶段十:完成注释门禁最终验收
This commit is contained in:
1 parent
d1a165f897
commit
f30a1f68f8
29 files changed
+509
-7253
No files matched your search
@@ -4,10 +4,10 @@ import { formatLocalDateTime } from './dateTime';
|
||||
describe('formatLocalDateTime', () => {
|
||||
test('uses the browser local timezone and the standard second-level format', () => {
|
||||
expect(formatLocalDateTime(new Date(2026, 6, 15, 10, 54, 12))).toBe('2026-07-15 10:54:12');
|
||||
});
|
||||
} /* 回调函数负责当前业务流程。 */);
|
||||
|
||||
test('returns a placeholder for missing or invalid timestamps', () => {
|
||||
expect(formatLocalDateTime()).toBe('-');
|
||||
expect(formatLocalDateTime('not-a-date')).toBe('-');
|
||||
});
|
||||
});
|
||||
} /* 回调函数负责当前业务流程。 */);
|
||||
} /* 回调函数负责当前业务流程。 */);
|
||||
Reference in new issue
Block a user