Invalid DateTime exception
I am using the C# API.
I am calling GetFilteredIssues() setting the RevisedAfter member on the filter. Currently I have got a DateTime object and am setting the RevisedAfter to be oDateTime.ToString().
This worked fine until I installed Gemini on our live server which installed it as 'en-us' locale. I then got an exception that 'the string was not recognized as a valid DateTime'. I have fixed this by setting the Gemini server to use 'en-GB' locale.
Is there a way I can set the RevisedAfter to be a locale neutral value? Or is there a way to get the locale the Gemini server is using so I can adjust the format?
StephenWorthington
· 1 |
|
Tuesday, November 16, 2010, 5:29:44 PM |