https://bugzilla.novell.com/show_bug.cgi?id=377042


           Summary: DateTime.ParseExact throws FormatException : Invalid
                    format when it shouldn't
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---



Eric Albright <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
               Flag|                                                
|SHIP_STOPPER?


The following throws System.FormatException : Invalid format.

DateTime result = DateTime.ParseExact("2005-01-01T01:11:11+8:00",
                                new string[]
                                        {
                                                "yyyy-MM-ddTHH:mm:ssZ",
                                                "yyyy-MM-ddTHH:mm:sszzzz",
                                                "yyyy-MM-dd"
                                        },
                                new DateTimeFormatInfo(),
                                DateTimeStyles.AdjustToUniversal
                                | DateTimeStyles.AssumeUniversal);


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to