mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-18 01:36:08 +08:00
patches from zhengzhou site
This commit is contained in:
19 files changed
+80
-40
No files matched your search
@@ -154,7 +154,7 @@ export namespace Time {
|
||||
throw new Error('No bson module found');
|
||||
}
|
||||
try {
|
||||
isMoment ||= require('moment');
|
||||
isMoment ||= require('moment').isMoment;
|
||||
} catch (e) {
|
||||
throw new Error('No moment module found');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user