mono/mono — pull request #588 by Daniel15 (2013-03-04 11:19:19+00:00)
Title: Fix bug #10872 (Expires and Last-Modified headers should use two-digit days)

While RFC 822 and RFC 1123 both allow either one- or two-digit days in dates, [HTTP only allows two-digit days](http://tools.ietf.org/html/rfc2616#section-3.3.1). Mono currently outputs dates in this format:
Sun, 3 Mar 2014 13:22:27 GMT

When they should be in this format:
Sun, **0**3 Mar 2014 13:22:27 GMT

The [standard RFC1123 ("R") format specifier](http://msdn.microsoft.com/en-us/library/az4se3k1.aspx#RFC1123) uses the correct format so I've changed the code to use this instead of a custom format.

Also see http://trac.nginx.org/nginx/ticket/310 (which is how I originally found this issue).