0701提交本本,包含整体所有子页面

This commit is contained in:
Charles
2026-07-01 16:11:39 +08:00
parent 709098e515
commit 5ce8c50db9
12153 changed files with 1691968 additions and 7371 deletions
+10
View File
@@ -0,0 +1,10 @@
import { PluginFunc } from 'dayjs/esm'
declare const plugin: PluginFunc
export = plugin
declare module 'dayjs/esm' {
interface Dayjs {
isLeapYear(): boolean
}
}
+7
View File
@@ -0,0 +1,7 @@
export default (function (o, c) {
var proto = c.prototype;
proto.isLeapYear = function () {
return this.$y % 4 === 0 && this.$y % 100 !== 0 || this.$y % 400 === 0;
};
});