@bytebrand/export-cars 1.21.30 → 1.21.31

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/export-cars",
3
- "version": "1.21.30",
3
+ "version": "1.21.31",
4
4
  "description": "",
5
5
  "author": "bytebrand",
6
6
  "license": "UNLICENSED",
@@ -323,7 +323,7 @@ export class GoogleTransformer {
323
323
  let timestamp = +get(car, 'mainData.firstRegistration', '')
324
324
 
325
325
  if (!timestamp) {
326
- timestamp = moment().unix()
326
+ timestamp = Math.round(new Date().getTime() / 1000)
327
327
  }
328
328
 
329
329
  const date = new Date(timestamp * 1000);