wx2tg-puppet 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -444,8 +444,7 @@ class Message {
444
444
  * The time it was created.
445
445
  */
446
446
  date() {
447
- // TODO: Implement date retrieval
448
- return new Date(this.msg.CreateTime * 1000);
447
+ return new Date(this.msg.CreateTime);
449
448
  }
450
449
  /**
451
450
  * Extract the media file from the message, and put it into the FileBox.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wx2tg-puppet",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [