--- loncom/interface/loncommon.pm 2001/10/26 17:09:04 1.7 +++ loncom/interface/loncommon.pm 2001/10/26 17:29:28 1.8 @@ -8,6 +8,7 @@ package Apache::loncommon; use strict; +use POSIX qw(strftime); use Apache::Constants qw(:common); use Apache::lonmsg(); @@ -71,7 +72,7 @@ sub get_unprocessed_cgi { } sub cacheheader { - my $date=localtime; + my $date=strftime("%a, %d %b %Y %H:%M:%S GMT",gmtime); my $output .=' ';