mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-24 08:14:47 +00:00
chore: update frontend build for v1.1.82 [skip ci]
This commit is contained in:
4
web/admin-spa/node_modules/dayjs/esm/plugin/buddhistEra/index.d.ts
generated
vendored
4
web/admin-spa/node_modules/dayjs/esm/plugin/buddhistEra/index.d.ts
generated
vendored
@@ -1,4 +0,0 @@
|
||||
import { PluginFunc } from 'dayjs/esm'
|
||||
|
||||
declare const plugin: PluginFunc
|
||||
export = plugin
|
||||
21
web/admin-spa/node_modules/dayjs/esm/plugin/buddhistEra/index.js
generated
vendored
21
web/admin-spa/node_modules/dayjs/esm/plugin/buddhistEra/index.js
generated
vendored
@@ -1,21 +0,0 @@
|
||||
import { FORMAT_DEFAULT } from '../../constant';
|
||||
export default (function (o, c) {
|
||||
// locale needed later
|
||||
var proto = c.prototype;
|
||||
var oldFormat = proto.format; // extend en locale here
|
||||
|
||||
proto.format = function (formatStr) {
|
||||
var _this = this;
|
||||
|
||||
var yearBias = 543;
|
||||
var str = formatStr || FORMAT_DEFAULT;
|
||||
var result = str.replace(/(\[[^\]]+])|BBBB|BB/g, function (match, a) {
|
||||
var _this$$utils;
|
||||
|
||||
var year = String(_this.$y + yearBias);
|
||||
var args = match === 'BB' ? [year.slice(-2), 2] : [year, 4];
|
||||
return a || (_this$$utils = _this.$utils()).s.apply(_this$$utils, args.concat(['0']));
|
||||
});
|
||||
return oldFormat.bind(this)(result);
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user