@bytebrand/export-cars 1.21.65 → 1.21.66

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.65",
3
+ "version": "1.21.66",
4
4
  "description": "",
5
5
  "author": "bytebrand",
6
6
  "license": "UNLICENSED",
@@ -404,8 +404,8 @@ export class GoogleTransformer {
404
404
 
405
405
  if (!car.mainData.firstRegistration || this.monthDiffLess(car, 8)) {
406
406
  const currentDate = new Date();
407
- currentDate.setMonth(currentDate.getMonth() - 9); // Відняти 9 місяців
408
- timestamp = Math.round(currentDate.getTime() / 1000); // Перетворити на секунди
407
+ currentDate.setMonth(currentDate.getMonth() - 9);
408
+ timestamp = Math.round(currentDate.getTime() / 1000);
409
409
  }
410
410
 
411
411
  const date = new Date(timestamp * 1000);