]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Time/German.pm
improved the behavior of get_all_threads and create_forum_xml_string
[selfforum.git] / selfforum-cgi / shared / Time / German.pm
index f89599c936e792ae93c63c5f37cbbd6606359291..86d91233374b174bd190e865b88f29e84dc72295 100644 (file)
@@ -4,7 +4,7 @@ package Time::German;
 #                                                                              #
 # File:        shared/Time/German.pm                                           #
 #                                                                              #
 #                                                                              #
 # File:        shared/Time/German.pm                                           #
 #                                                                              #
-# Authors:     Andre Malo       <nd@o3media.de>, 2001-06-10                    #
+# Authors:     André Malo <nd@o3media.de>                                      #
 #                                                                              #
 # Description: determine time offset German Time <=> GMT (seconds)             #
 #                                                                              #
 #                                                                              #
 # Description: determine time offset German Time <=> GMT (seconds)             #
 #                                                                              #
@@ -14,14 +14,17 @@ use strict;
 use vars qw(
   @EXPORT_OK
   %EXPORT_TAGS
 use vars qw(
   @EXPORT_OK
   %EXPORT_TAGS
-  $VERSION
 );
 
 ################################################################################
 #
 # Version check
 #
 );
 
 ################################################################################
 #
 # Version check
 #
-$VERSION = do { my @r =(q$Revision$ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
+# last modified:
+#    $Date$ (GMT)
+# by $Author$
+#
+sub VERSION {(q$Revision$ =~ /([\d.]+)\s*$/)[0] or '0.0'}
 
 ################################################################################
 #
 
 ################################################################################
 #

patrick-canterino.de