gunnar: server/perl-kolab/lib Kolab.pm,1.2,1.3

cvs at kolab.org cvs at kolab.org
Sun Aug 12 17:57:17 CEST 2007


Author: gunnar

Update of /kolabrepository/server/perl-kolab/lib
In directory doto:/tmp/cvs-serv15308/lib

Modified Files:
	Kolab.pm 
Log Message:
Fix release date in lib/Kolab.pm

Index: Kolab.pm
===================================================================
RCS file: /kolabrepository/server/perl-kolab/lib/Kolab.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Kolab.pm	10 Aug 2007 14:52:00 -0000	1.2
+++ Kolab.pm	12 Aug 2007 15:57:15 -0000	1.3
@@ -64,7 +64,7 @@
 # Are current releases cvs based or is this a real release?
 my $KOLAB_CVS = 1;
 
-our $KOLAB_RELEASE = ((gmtime)[5] + 1900) . ((gmtime)[4] + 1) . (gmtime)[3];
+our $KOLAB_RELEASE = sprintf "%0004d%02d%02d", ((gmtime)[5] + 1900), ((gmtime)[4] + 1), (gmtime)[3];
 
 if ($KOLAB_CVS) {
     our $KOLAB_VERSION = $KOLAB_BASE_VERSION . "_cvs";





More information about the commits mailing list