Skip to main content
Planview Customer Success Center

API: issue with date format on update for some fields (2012)

QUESTION:
We have difficulties in passing dates to the API. Sometimes it fails and sometimes day and month are inverted. This also impacts the filedrop import of resources.


ANSWER:
The API needs to run in english-US mode. In Changepoint 2012 and .NET 4 this can be done by a change in web.config.

Add the <globalization> tag to the <system.web> node, as follows:

<system.web>
<globalization culture="en-US" uiCulture="en-US" />
...

Also pass dates from your application in the corresponding format.