[LON-CAPA-cvs] cvs: doc /loncapafiles loncapafiles.lpml loncom/interface loncommon.pm
raeburn
lon-capa-cvs-allow@mail.lon-capa.org
Sat, 31 May 2008 01:51:47 -0000
raeburn Fri May 30 21:51:47 2008 EDT
Modified files:
/loncom/interface loncommon.pm
/doc/loncapafiles loncapafiles.lpml
Log:
- Timezones will come from DateTime/TimeZone.pm (perl module).
- timezone.tab is not required.
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.657 loncom/interface/loncommon.pm:1.658
--- loncom/interface/loncommon.pm:1.657 Thu May 29 15:35:53 2008
+++ loncom/interface/loncommon.pm Fri May 30 21:51:42 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.657 2008/05/29 19:35:53 raeburn Exp $
+# $Id: loncommon.pm,v 1.658 2008/05/31 01:51:42 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -151,7 +151,6 @@
# ----------------------------------------------- Filetypes/Languages/Copyright
my %language;
-my %timezone;
my %supported_language;
my %cprtag;
my %scprtag;
@@ -194,22 +193,6 @@
close($fh);
}
}
-# ------------------------------------------------------------------- timezones
- {
- my $timetabfile = $Apache::lonnet::perlvar{'lonTabDir'}.
- '/timezone.tab';
- if ( open(my $fh,"<$timetabfile") ) {
- while (my $line = <$fh>) {
- next if ($line=~/^\#/);
- chomp($line);
- my $value=$line;
- $value=~s/\_/ /g;
- $timezone{$line}=$value;
- }
- close($fh);
- }
- }
-
# ------------------------------------------------------------------ copyrights
{
my $copyrightfile = $Apache::lonnet::perlvar{'lonIncludes'}.
Index: doc/loncapafiles/loncapafiles.lpml
diff -u doc/loncapafiles/loncapafiles.lpml:1.588 doc/loncapafiles/loncapafiles.lpml:1.589
--- doc/loncapafiles/loncapafiles.lpml:1.588 Fri May 30 12:04:30 2008
+++ doc/loncapafiles/loncapafiles.lpml Fri May 30 21:51:47 2008
@@ -2,7 +2,7 @@
"http://lpml.sourceforge.net/DTD/lpml.dtd">
<!-- loncapafiles.lpml -->
-<!-- $Id: loncapafiles.lpml,v 1.588 2008/05/30 16:04:30 www Exp $ -->
+<!-- $Id: loncapafiles.lpml,v 1.589 2008/05/31 01:51:47 raeburn Exp $ -->
<!--
@@ -1894,14 +1894,6 @@
</description>
</file>
<file>
-<source>loncom/interface/timezone.tab</source>
-<target dist='default'>home/httpd/lonTabs/timezone.tab</target>
-<categoryname>static conf</categoryname>
-<description>
-Table which contains valid timezone values
-</description>
-</file>
-<file>
<source>loncom/publisher/addid.tab</source>
<target dist='default'>home/httpd/lonTabs/addid.tab</target>
<categoryname>static conf</categoryname>