|
|
@@ -2,14 +2,14 @@ import { set } from 'lodash';
|
|
|
|
|
|
export default class ReportDate extends Date {
|
|
|
|
|
|
- prototype: any;
|
|
|
+ // prototype: any;
|
|
|
|
|
|
- constructor() {
|
|
|
- super();
|
|
|
+ // constructor() {
|
|
|
+ // super();
|
|
|
|
|
|
- set(this.prototype, 'Format', this.Format);
|
|
|
- Object.assign(Date, this);
|
|
|
- }
|
|
|
+ // set(this.prototype, 'Format', this.Format);
|
|
|
+ // Object.assign(Date, this);
|
|
|
+ // }
|
|
|
|
|
|
Format = (fmt: string) => {
|
|
|
const o: Record<string, any> = {
|