You've already forked linux-packaging-mono
Imported Upstream version 3.8.0
Former-commit-id: 6a76a29bd07d86e57c6c8da45c65ed5447d38a61
This commit is contained in:
@@ -214,6 +214,10 @@ namespace System
|
||||
"yyyy/MMMM",
|
||||
};
|
||||
|
||||
private static readonly string[] ExoticAndNonStandardFormats = new string[] {
|
||||
"ddMMMyyyy"
|
||||
};
|
||||
|
||||
private enum Which
|
||||
{
|
||||
Day,
|
||||
@@ -927,6 +931,9 @@ namespace System
|
||||
if (ParseExact (s, dfi.GetAllDateTimePatternsInternal (), dfi, styles, out result, false, ref longYear, setExceptionOnError, ref exception))
|
||||
return true;
|
||||
|
||||
if (ParseExact (s, ExoticAndNonStandardFormats, dfi, styles, out result, false, ref longYear, setExceptionOnError, ref exception))
|
||||
return true;
|
||||
|
||||
if (!setExceptionOnError)
|
||||
return false;
|
||||
|
||||
|
Reference in New Issue
Block a user