This commit is contained in:
RochesterX
2025-11-12 10:13:24 -05:00
parent d5b0f97adb
commit 6e820464d5
9761 changed files with 706938 additions and 0 deletions

23
node_modules/@azure/msal-node/dist/utils/TimeUtils.mjs generated vendored Normal file
View File

@@ -0,0 +1,23 @@
/*! @azure/msal-node v3.8.0 2025-09-24 */
'use strict';
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/**
* @internal
* Checks if a given date string is in ISO 8601 format.
*
* @param dateString - The date string to be checked.
* @returns boolean - Returns true if the date string is in ISO 8601 format, otherwise false.
*/
function isIso8601(dateString) {
if (typeof dateString !== "string") {
return false;
}
const date = new Date(dateString);
return !isNaN(date.getTime()) && date.toISOString() === dateString;
}
export { isIso8601 };
//# sourceMappingURL=TimeUtils.mjs.map