Oscar Posted November 23, 2010 Report Share Posted November 23, 2010 Hello, Plastic Team, when querying with a date condition, for example, cm find changeset where date>'10/09/2010' on repository 'test1', how will plastic server interpret my date string '10/09/2010'? Oct. 09 or Sep. 10? How can I tell Plastic server my date format? Thanks, -Oscar Link to comment Share on other sites More sharing options...
psantosl Posted November 23, 2010 Report Share Posted November 23, 2010 Hi Oscar, Are you really in China? If you check the cm find command you'll see there's a --dateformat option cm findGets a list of objects following search criteria.Usage: cm find object [where conditions] [on repositories] [options] object: Object type to find. conditions: Search conditions on an object Link to comment Share on other sites More sharing options...
dave Posted November 23, 2010 Report Share Posted November 23, 2010 Hi Oscar, the date is parsed in the client and uses the culture that you have configured your Plastic client with. So, if your Plastic client is set to Spanish, 10/09/2010 will be interpreted as Sept 10th. If set to English, as Oct 9th. From the command line, you can force the format with the --dateformat argument. Try cm find --help to find some samples. The date format used there is fully documented here: http://msdn.microsoft.com/en-us/library/az4se3k1.aspx Cheers, David Link to comment Share on other sites More sharing options...
johnsonpm Posted June 29, 2011 Report Share Posted June 29, 2011 We are using the product in the UK so would like to see dates in the UK format dd/mm/yy rather than the US "English" version mm/dd/yy. How can we configure it to do this? Thanks Pete J Link to comment Share on other sites More sharing options...
miller Posted June 29, 2011 Report Share Posted June 29, 2011 Pete, find your client.conf file, and edit the language, insert uk. see attached. cheers, miller Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.