Datetime Fixes in AngularJS
|Release Date||Jul 28, 2017|
There was a problem with the datetime implementation in AngularJS. Date/datetime strings were not correctly converted into objects. Instead, strings were being sent and received within the SDK. This problem has now been fixed.
Please generate your SDK again to get this fix.
Details Of Changes
ObjectMapperfile has been updated to return date/datetime objects instead of strings.
stringifyDateTimefunction has been added to
APIHelperfile to convert date/datetime objects back into strings.
- Logic for endpoints which have date/datetime return types has been updated to return the correct date/datetime objects instead of strings.
- Logic for endpoints which have date/datetime parameters has been updated to convert date/datetime objects into strings before making the API call.
- A function
getDateTimeValueForFieldhas been added to Model files. This will be called when a model instance is being stringified.
Have questions? Submit a request.