SpringSource/spring-net-social-dropbox — pull request #1 by simonrice (2012-07-28 16:19:47+00:00)
Title: Date separator fix

Hi there,

This is my first pull request, so I'm not entirely sure if I'm doing the right thing here, so here goes nothing...

I found out many unit tests were failing because none of the expected date strings matched. The reason they were failing is down to my preference of using `.` as a date separator instead of `/`.

In DateTime.ToString, the `/` character means ["use the default date separator"](http://stackoverflow.com/a/941546/204168). The correct way of using `/` as a date separator in DateTime.ToString is to either is to surround it with single quotes (i.e., `'/'`) or passing `CultureInfo.InvariantCulture` as a second parameter - as you can see in the changes, I've done the former.

It's a trivial fix I know & adds nothing to the functionality, but I feel it's worth adding.

Cheers

Simon