twilio / twilio-java

A Java library for communicating with the Twilio REST API and generating TwiML.
MIT License
491 stars 430 forks source link

chore: correcting dateTime format as per RFC3339 format #798

Open tiwarishubham635 opened 5 months ago

tiwarishubham635 commented 5 months ago

Fixes

The SDK currently formats date-time query parameters (this one for example) with this format: yyyy-MM-dd'T'HH:mm:ss However, the Open API Specification suggests that a date-time parameter should include the timezone at the end. For example, if the timezone is UTC it should include a Z at the end. For example: 1985-04-12T23:20:50Z

This PR adds the support for this dateTime format

Checklist

If you have questions, please file a support ticket, or create a GitHub Issue in this repository.

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud