diff options
| author | TheMas3212 <mas3212@gmail.com> | 2023-10-08 02:27:27 +1100 |
|---|---|---|
| committer | TheMas3212 <mas3212@gmail.com> | 2023-10-08 02:27:27 +1100 |
| commit | afa69f71c02fa4b52e7df4a80b78cc27342e7182 (patch) | |
| tree | b1c30172608f3fb926a8bb08eacca2c8238f9505 /src | |
| parent | 83f9b703e844cd83c0699bbbf0847365286f0729 (diff) | |
| download | tasd-js-afa69f71c02fa4b52e7df4a80b78cc27342e7182.tar.gz tasd-js-afa69f71c02fa4b52e7df4a80b78cc27342e7182.zip | |
Fix more bug in TASD.toBuffer
Diffstat (limited to 'src')
| -rw-r--r-- | src/file.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.ts b/src/file.ts index 2203e48..2a7331c 100644 --- a/src/file.ts +++ b/src/file.ts @@ -30,7 +30,7 @@ export class TASD { const packets = [ header ]; if (this._isDirty) { this.packets = this.packets.filter((packet) => packet.key !== PACKET_TYPES.DUMP_LAST_MODIFIED); - this.packets.push(new DumpLastModifiedPacket(BigInt(Date.now()))); + this.packets.push(new DumpLastModifiedPacket(BigInt(Date.now() / 1000))); } for (const packet of this.packets) { packets.push(packet.toBuffer(this.g_keylen)); |
