diff --git a/src/utils.ts b/src/utils.ts index c2e9928..6ab58d5 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -85,7 +85,7 @@ export class ShortFormDate { @t.uint8 public offsetFromGMT!: number; public get date(): Date { - return new Date(this.year, this.month - 1, this.day, this.hour, this.minute, this.second); + return new Date(1900 + this.year, this.month - 1, this.day, this.hour, this.minute, this.second); } }