fix bad minute spec in Session/DateTime/epochToHttp. Add tests to cover

This commit is contained in:
Colin Kuskie 2006-08-09 20:06:19 +00:00
parent aacae49b37
commit b3678c6795
3 changed files with 5 additions and 3 deletions

View file

@ -258,7 +258,7 @@ sub epochToHttp {
my $time_zone = $self->getTimeZone();
my $dt = DateTime->from_epoch(epoch=>$epoch, time_zone=>$time_zone);
$dt->set_time_zone('GMT');
return $dt->strftime('%a, %d %b %Y %H:%m:%S GMT');
return $dt->strftime('%a, %d %b %Y %H:%M:%S GMT');
}
#-------------------------------------------------------------------