Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.

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?

· 1
Replies (1)
not helpful

There is no way to make it locale netural. You can get the Gemini Configuration entity via the admin service (you need to be admin) and check the DefaultCultureName property for this.
Note that this is not from the web.config file!

Saar Cohen
· 5000
Saar Cohen