@tryghost/pretty-stream 0.1.28 → 0.1.29
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.
- package/lib/PrettyStream.js +1 -1
- package/package.json +2 -2
package/lib/PrettyStream.js
CHANGED
|
@@ -103,7 +103,7 @@ class PrettyStream extends Transform {
|
|
|
103
103
|
|
|
104
104
|
// Convert the time to UTC
|
|
105
105
|
const now = new Date();
|
|
106
|
-
const dataTime = new Date(data.time);
|
|
106
|
+
const dataTime = new Date(data.time || now);
|
|
107
107
|
|
|
108
108
|
// If the timezone offset is equal to the current timezone offset, and that timezone offset is not 0,
|
|
109
109
|
// then we need to adjust the time
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/pretty-stream",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"repository": "https://github.com/TryGhost/framework/tree/main/packages/pretty-stream",
|
|
5
5
|
"author": "Ghost Foundation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"lodash": "^4.17.21",
|
|
30
30
|
"prettyjson": "^1.2.5"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "783b40c3ece6e1c9e293d09f2c069baa3e1110b2"
|
|
33
33
|
}
|