Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
Remove unused range global
Browse files Browse the repository at this point in the history
  • Loading branch information
GuiltyDolphin committed Jul 19, 2016
1 parent 4fcf5df commit 1899241
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/DDG/Goodie/RandomDate.pm
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ sub format_date {
my $MAX_DATE = 253_402_300_799;
# 0000-01-01T00:00:00Z
my $MIN_DATE = -62_167_219_200;
my $MAX_RAND = $MAX_DATE - $MIN_DATE;
sub get_random_date {
my ($locale, $min_date, $max_date) = @_;
my $range = abs($max_date->epoch - $min_date->epoch);
Expand Down

0 comments on commit 1899241

Please sign in to comment.