Added Statistics calculation
Statistics now show calculated values
This commit is contained in:
parent
fe87374e47
commit
fc0f69dacb
2147 changed files with 141321 additions and 39 deletions
19
node_modules/dayjs/esm/plugin/weekYear/index.js
generated
vendored
Normal file
19
node_modules/dayjs/esm/plugin/weekYear/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
export default (function (o, c) {
|
||||
var proto = c.prototype;
|
||||
|
||||
proto.weekYear = function () {
|
||||
var month = this.month();
|
||||
var weekOfYear = this.week();
|
||||
var year = this.year();
|
||||
|
||||
if (weekOfYear === 1 && month === 11) {
|
||||
return year + 1;
|
||||
}
|
||||
|
||||
if (month === 0 && weekOfYear >= 52) {
|
||||
return year - 1;
|
||||
}
|
||||
|
||||
return year;
|
||||
};
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue