Navigation Menu

Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed Jan 29, 2010
1 parent eefbb81 commit 6f4deda
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Plack/Response.pm
Expand Up @@ -133,7 +133,7 @@ sub _bake_cookie {
return join "; ", @cookie;
}

my @MON = qw( Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec);
my @MON = qw( Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec );
my @WDAY = qw( Sun Mon Tue Wed Thu Fri Sat );

sub _date {
Expand All @@ -142,7 +142,6 @@ sub _date {
if ($expires =~ /^\d+$/) {
# all numbers -> epoch date
# (cookies use '-' as date separator, HTTP uses ' ')

my($sec, $min, $hour, $mday, $mon, $year, $wday) = gmtime($expires);
$year += 1900;

Expand Down

0 comments on commit 6f4deda

Please sign in to comment.