[Mono-bugs] [Bug 532207] New: DateTime.Parse is unable to automatically parse the format "yyyy-MM-ddTHH:mm:ss.ffffff"

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 18 14:59:10 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=532207


           Summary: DateTime.Parse is unable to automatically parse the
                    format "yyyy-MM-ddTHH:mm:ss.ffffff"
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: fak at kruegersystems.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Description of Problem:

The Microsoft CLR is able to parse DateTime strings of the format
"yyyy-MM-ddTHH:mm:ss.ffffff" using just DateTime.Parse. Mono doesn't accept
these strings (throws an exception).

Steps to reproduce the problem:
1. Execute DateTime.Parse("2009-12-25T11:59:59.483648",
CultureInfo.InvariantCulture);


Actual Results:

An exception is thrown.

Expected Results:

The DateTime is parsed.

How often does this happen? 

Always.

Additional Information:

This is a minor problem because ParseExact works fine.

-- 
Configure bugmail: http://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.


More information about the mono-bugs mailing list