@bytebrand/export-cars 1.21.50 → 1.21.52

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.50",
3
+ "version": "1.21.52",
4
4
  "description": "",
5
5
  "author": "bytebrand",
6
6
  "license": "UNLICENSED",
@@ -57,8 +57,8 @@ export class GoogleXmlBuilder extends XMLBuilderBase {
57
57
  }): string {
58
58
  return `<g:${rootTag}>
59
59
  <g:certification_authority>${data.certification_authority}</g:certification_authority>
60
- <g:certification_name>${data.certification_name} EUR</g:certification_name>
61
- <g:certification_value>${data.certification_value} EUR</g:certification_value>
60
+ <g:certification_name>${data.certification_name}</g:certification_name>
61
+ <g:certification_value>${data.certification_value}</g:certification_value>
62
62
  </g:${rootTag}>`;
63
63
  }
64
64
 
@@ -351,14 +351,12 @@ export class GoogleTransformer {
351
351
  }
352
352
 
353
353
  const date = new Date(timestamp * 1000);
354
- const day = date.getUTCDate();
355
354
  const month = date.getUTCMonth() + 1;
356
355
  const year = date.getUTCFullYear();
357
356
 
358
- const formattedDay = day < 10 ? `0${day}` : day;
359
357
  const formattedMonth = month < 10 ? `0${month}` : month;
360
358
 
361
- return `${year}-${formattedMonth}-${formattedDay}`;
359
+ return `${year}-${formattedMonth}`;
362
360
  }
363
361
 
364
362
  private isNotEmptyArray(array: any[]): boolean {