AAE-29442 moving to node 20.18.1 (#10500)

* AAE-0000 - moving to node 20.18.1

* AAE-29442 Adjusted to the new eslint rule
This commit is contained in:
Vito Albano
2024-12-18 11:14:52 +00:00
committed by GitHub
parent dd44e492b7
commit 872fb16b62
144 changed files with 5267 additions and 6842 deletions

View File

@@ -18,7 +18,6 @@
export class DateAlfresco extends Date {
/**
* Parses an ISO-8601 string representation of a date value.
*
* @param dateToConvert The date value as a string.
* @returns The parsed date object.
*/
@@ -41,7 +40,6 @@ export class DateAlfresco extends Date {
/**
* Parses the date component of a ISO-8601 string representation of a date value.
*
* @param dateToConvert The date value as a string.
* @returns The parsed date object.
*/
@@ -50,7 +48,7 @@ export class DateAlfresco extends Date {
// return new Date(str.replace(/T/i, ' '));
// Compatible with Safari 9.1.2
const dateParts = dateToConvert.split(/[^0-9]/).map(function(s) {
const dateParts = dateToConvert.split(/[^0-9]/).map(function (s) {
return parseInt(s, 10);
});
return new Date(
@@ -68,7 +66,6 @@ export class DateAlfresco extends Date {
/**
* Parses the timezone component of a ISO-8601 string representation of a date value.
*
* @param dateToConvert The timezone offset as a string, e.g. '+0000', '+2000' or '-0500'.
* @returns The number of minutes offset from UTC.
*/