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
- The
parseDateTime
function inObjectMapper
file has been updated to return date/datetime objects instead of strings. stringifyDateTime
function has been added toAPIHelper
file 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
getDateTimeValueForField
has been added to Model files. This will be called when a model instance is being stringified.