[Mono-bugs] [Bug 594559] New: DateTime.TryParse fails to parse "0009-05-02 20:00:00.00" because of the .00 for ms

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 7 15:49:53 EDT 2010



           Summary: DateTime.TryParse fails to parse "0009-05-02
                    20:00:00.00" because of the .00 for ms
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: tom_hindle at sil.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=352967)
 --> (http://bugzilla.novell.com/attachment.cgi?id=352967)
Simple test of DateTime.TryParse

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5
(KHTML, like Gecko) Chrome/ Safari/532.5

This parses "0009-05-02 20:00:00" but this doesn't "0009-05-02 20:00:00.00"

Attaching test case.

Reproducible: Always

Steps to Reproduce:
1. Compile and run test case
Actual Results:  
Results running on Linux/mono
02/05/0009 1:00:00 PM

Expected Results:  
Results running on XP/.Net
02/05/0009 2:00:00 PM
02/05/0009 2:00:00 PM

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