@runnerpro/backend 1.11.1 → 1.11.3

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.
@@ -186,9 +186,9 @@ const formatDateForGoogleSheets = (dateString) => {
186
186
  // Función para procesar array de valores y formatear fechas
187
187
  const processValuesForGoogleSheets = (values) => {
188
188
  return values.map((value) => {
189
- if (typeof value === 'string' && isDateString(value)) {
190
- return formatDateForGoogleSheets(value);
191
- }
189
+ // if (typeof value === 'string' && isDateString(value)) {
190
+ // return formatDateForGoogleSheets(value);
191
+ // }
192
192
  return value;
193
193
  });
194
194
  };
@@ -202,7 +202,7 @@ const appendSheet = ({ sheetInstance, sheetName, sheetPage, cellValues, cellPosi
202
202
  auth: googleAuth,
203
203
  spreadsheetId: googleSheeIds[sheetName],
204
204
  range: `${sheetPage}!${cellPositionAppend}`,
205
- valueInputOption: 'USER_ENTERED', // Cambiado de 'RAW' a 'USER_ENTERED' para que Google Sheets interprete fechas
205
+ valueInputOption: 'RAW',
206
206
  insertDataOption: 'INSERT_ROWS',
207
207
  resource: {
208
208
  values: [processedValues],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runnerpro/backend",
3
- "version": "1.11.1",
3
+ "version": "1.11.3",
4
4
  "description": "A collection of common backend functions",
5
5
  "exports": {
6
6
  ".": "./lib/cjs/index.js"