[interchange-cvs] interchange - heins modified lib/Vend/Form.pm

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Sat Feb 1 16:46:01 2003


User:      heins
Date:      2003-02-01 21:45:16 GMT
Modified:  lib/Vend Form.pm
Log:
* Fix "double March" bug in date widget.

Revision  Changes    Path
2.24      +3 -3      interchange/lib/Vend/Form.pm


rev 2.24, prev_rev 2.23
Index: Form.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Form.pm,v
retrieving revision 2.23
retrieving revision 2.24
diff -u -r2.23 -r2.24
--- Form.pm	12 Dec 2002 03:18:57 -0000	2.23
+++ Form.pm	1 Feb 2003 21:45:16 -0000	2.24
@@ -1,6 +1,6 @@
 # Vend::Form - Generate Form widgets
 # 
-# $Id: Form.pm,v 2.23 2002/12/12 03:18:57 mheins Exp $
+# $Id: Form.pm,v 2.24 2003/02/01 21:45:16 mheins Exp $
 #
 # Copyright (C) 1996-2002 Red Hat, Inc. <interchange@redhat.com>
 #
@@ -37,7 +37,7 @@
 require Exporter;
 @ISA = qw(Exporter);
 
-$VERSION = substr(q$Revision: 2.23 $, 10);
+$VERSION = substr(q$Revision: 2.24 $, 10);
 
 @EXPORT = qw (
 	display
@@ -326,7 +326,7 @@
 
 	for(1 .. 12) {
 		$t[4] = $_ - 1;
-		$t[5] = 1;
+		$t[3] = 1;
 		push @Months, [sprintf("%02d", $_), POSIX::strftime("%B", @t)];
 	}