fix bad minute spec in Session/DateTime/epochToHttp. Add tests to cover
This commit is contained in:
parent
aacae49b37
commit
b3678c6795
3 changed files with 5 additions and 3 deletions
|
|
@ -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');
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue