oci-typescript-sdk icon indicating copy to clipboard operation
oci-typescript-sdk copied to clipboard

Timestamp issue

Open BharatKumavatJ opened this issue 9 months ago • 1 comments

Consider the following:

let validDate = new Date('2024-08-28T08:15:34Z'); => Wed Aug 28 2024 02:15:34 GMT-0600 (Mountain Daylight Time) let invalidString =formatDateToRFC3339(validDate); => 2024-08-28T2:15:34Z (notice that the hour is a single digit) new Date(invalidString); => Invalid Date

BharatKumavatJ avatar Feb 13 '25 18:02 BharatKumavatJ

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA). The following contributors of this PR have not signed the OCA:

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.