web-manager 3.2.44 → 3.2.45

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.
Files changed (2) hide show
  1. package/index.js +4 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1204,9 +1204,12 @@ function Manager() {
1204
1204
  }
1205
1205
  })
1206
1206
  .then(function (data) {
1207
- var buildTimeCurrent = self.properties.global.buildTime || new Date(0);
1207
+ var buildTimeCurrent = self.properties.global.buildTime;
1208
1208
  var buildTimeLive = new Date(data['npm-build'].timestamp);
1209
1209
 
1210
+ // Set buildTimeCurrent to 1 hour ahead
1211
+ buildTimeCurrent.setHours(buildTimeCurrent.getHours() + 1);
1212
+
1210
1213
  // Log
1211
1214
  console.log('refreshNewVersion()', data, buildTimeCurrent, buildTimeLive);
1212
1215
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "3.2.44",
3
+ "version": "3.2.45",
4
4
  "description": "Easily access important variables such as the query string, current domain, and current page in a single object.",
5
5
  "main": "index.js",
6
6
  "scripts": {