[Mono-bugs] [Bug 416555] New: DateTimePicker control should display time in 12 hrs format

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 12 07:26:37 EDT 2008


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


           Summary: DateTimePicker control should display time in 12 hrs
                    format
           Product: Mono: Class Libraries
           Version: 1.2.5
          Platform: i386
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: amit_k at spanservices.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer


Description of Problem:

We are using "DataTimePicker" control and we have selected "Time" format to 
display in the format "HH:MM:SS AM/PM"  

While testing on Mono, We found that "DataTimePicker" control is internally 
calculating time in 24 hours format.  

When a time starts as (for example) 6:00:00 PM, and you try to change it to 
7:00:00 PM by entering a '7' into the hour field, it will simultaneously 
change the PM to AM and display it as 7:00:00 AM.

In the above example, it is displaying as 6:00:00 PM means internally it is 
18:00:00 PM. Now if we enter '7' into the hour field then it will display as 
7:00:00 AM.

Steps to reproduce the problem:
1. We are facing this problem in DateTimePicker Control

Actual Results:

When a time starts as (for example) 6:00:00 PM, and you try to change it to 
7:00:00 PM by entering a '7' into the hour field, it will simultaneously 
change the PM to AM.  

Expected Results:
This should not happen -- AM and PM can only change if the user changes them.


How often does this happen? 

Always in the application

Additional Information:
Same scenerio is applicable in many linux flavours mentioned below:-

SLED 10
RHELD 5
SUSE
UBUNTU
DEBIAN

Please do the needfull.

Regards,
Palanisamy M.


-- 
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.


More information about the mono-bugs mailing list