@bytebrand/export-cars 1.21.66 → 1.21.67

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.66",
3
+ "version": "1.21.67",
4
4
  "description": "",
5
5
  "author": "bytebrand",
6
6
  "license": "UNLICENSED",
@@ -374,7 +374,7 @@ export class GoogleTransformer {
374
374
 
375
375
  const monthsDifference = (fieldDate - conditionDate) / (1000 * 60 * 60 * 24 * 30);
376
376
 
377
- return Math.abs(monthsDifference) <= month;
377
+ return Math.round(Math.abs(monthsDifference)) <= month;
378
378
  }
379
379
 
380
380
  private getMileage(car: DataSchemes.Car): number {