Symptom
When value is filled in the date type custom field, its dateFormat in API query always returns "yyyy-MM-dd" irrespective of instance locale. However, when value is not filled in the field, its dateFormat in API query changes with instance locale. e.g. When in US "dateFormat": "MM/dd/yyyy", JP "dateFormat": "yyyy/MM/dd".
Environment
SAP SuccessFactors Performance & Goals
Cause
This is a known issue in b2305.
Resolution
The expected behavior is that when value is filled in the date type custom field, the returned dateFormat in API query will also match the instance locale.
The fix for this issue is planned to be deployed on 2H 2023 release (b2311). For release timelines, please review SAP SuccessFactors Product Release & Road Map Information.
See Also
User Assistance Document
- SAP SuccessFactors API Reference Guide (OData V2) > Performance Management Form > Entities > FormCustomElement
- Date Formats for Different Locales
For up-to-date Release timelines, please review these resources:
Keywords
PMU-20356, dateFormat, custom field, date field, date, custom date field, form, performance form, api, KI2305 , KBA , LOD-SF-PM-API , Webservices, OData APIs , Known Error