[Mono-bugs] [Bug 80744][Wis] New - Duplicate short date in DateTimePicker

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Feb 6 17:06:09 EST 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by kobruleht2 at hot.ee.

http://bugzilla.ximian.com/show_bug.cgi?id=80744

--- shadow/80744	2007-02-06 17:06:09.000000000 -0500
+++ shadow/80744.tmp.5036	2007-02-06 17:06:09.000000000 -0500
@@ -0,0 +1,65 @@
+Bug#: 80744
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: kobruleht2 at hot.ee               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Duplicate short date in DateTimePicker
+
+To reproduce:
+
+Run code 
+
+Observed:
+
+month and year properties appear twice:
+
+4.02.2007 .02.2007
+
+Expected:
+
+4.02.2007
+
+
+Code to reproduce:
+
+using System.Windows.Forms;
+using System.Data;
+static class Program {
+	static void Main() {
+		Application.Run(new Frm());
+	}
+}
+
+class Frm : Form {
+	internal System.Windows.Forms.DateTimePicker DateTimePicker1;
+
+	private void InitializeDateTimePicker() {
+		this.DateTimePicker1 = new 
+System.Windows.Forms.DateTimePicker();
+		DateTimePicker1.Format = DateTimePickerFormat.Short ;
+		this.Controls.Add(this.DateTimePicker1);
+	}
+	public Frm() {
+		InitializeDateTimePicker();
+	}
+}
+
+Environment
+
+MONO 1.2.3 preview
+.NET 2 profile
+Windows XP SP2
+short date format dd.mm.yyyy 
+todays date  Feb 04, 2007
+Visual C# Express 2005


More information about the mono-bugs mailing list