first commit

This commit is contained in:
PC-202306242200\Administrator
2026-03-28 23:10:55 +08:00
commit 1c24452b6c
1735 changed files with 150474 additions and 0 deletions

View File

@@ -0,0 +1 @@
"use strict";exports.D="day",exports.DATE="date",exports.FORMAT_DEFAULT="YYYY-MM-DDTHH:mm:ssZ",exports.H="hour",exports.INVALID_DATE_STRING="Invalid Date",exports.M="month",exports.MILLISECONDS_A_DAY=864e5,exports.MILLISECONDS_A_HOUR=36e5,exports.MILLISECONDS_A_MINUTE=6e4,exports.MILLISECONDS_A_SECOND=1e3,exports.MILLISECONDS_A_WEEK=6048e5,exports.MIN="minute",exports.MS="millisecond",exports.Q="quarter",exports.REGEX_FORMAT=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,exports.REGEX_PARSE=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,exports.S="second",exports.W="week",exports.Y="year";

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";const e={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var r=["th","st","nd","rd"],_=e%100;return"["+e+(r[(_-20)%10]||r[_]||r[0])+"]"}};exports.en=e;

View File

@@ -0,0 +1 @@
"use strict";const t=require("./constant.js");var n=function(t,n,r){var e=String(t);return!e||e.length>=n?t:""+Array(n+1-e.length).join(r)+t};const r={s:n,z:function(t){var r=-t.utcOffset(),e=Math.abs(r),o=Math.floor(e/60),a=e%60;return(r<=0?"+":"-")+n(o,2,"0")+":"+n(a,2,"0")},m:function n(r,e){if(r.date()<e.date())return-n(e,r);var o=12*(e.year()-r.year())+(e.month()-r.month()),a=r.clone().add(o,t.M),u=e-a<0,c=r.clone().add(o+(u?-1:1),t.M);return+(-(o+(e-a)/(u?a-c:c-a))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(n){return{M:t.M,y:t.Y,w:t.W,d:t.D,D:t.DATE,h:t.H,m:t.MIN,s:t.S,ms:t.MS,Q:t.Q}[n]||String(n||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};exports.U=r;