pricecharts

track prices of consumer electronics
Log | Files | Refs | README

commit 910c5cc74e91b30767837da4eb4046e16c367f53
parent 30f915ebfb59df036c8853f98eef7e9bf35c79d0
Author: kyle <kyle@getaddrinfo.net>
Date:   Sun,  8 Nov 2015 11:54:52 -0700

ps_html: change the word stale to out of date

Diffstat:
Mps_html | 4++--
Mtt/about.tt | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ps_html b/ps_html @@ -164,13 +164,13 @@ for my $i (0..$num_weeks) { $totals_series{"Total"}{$x} = { "price" => $y }; ($y) = $dbh->selectrow_array("select count(*) from products where last_seen < ?", undef, $x - (60 * 60 * 24 * 30)); - $totals_series{"Stale"}{$x} = { "price" => $y }; + $totals_series{"Out of date"}{$x} = { "price" => $y }; } # print Dumper(%totals_series); my %series_metadata; $series_metadata{"Total"} = { url => "", color => "000" }; -$series_metadata{"Stale"} = { url => "", color => "F00" }; +$series_metadata{"Out of date"} = { url => "", color => "F00" }; my $svg = make_svg(\%totals_series, "no_part_num", \%series_metadata, 1, ""); make_path($svg_dir, { verbose => $args{v} }); diff --git a/tt/about.tt b/tt/about.tt @@ -31,7 +31,7 @@ Currently, there are <ul> <li><b>[% nprice %]</b> prices <li><b>[% nprod %]</b> active products - (<b>[% nprod_stale %]</b> stale) + (<b>[% nprod_stale %]</b> out of date) <li><b>[% nmanuf %]</b> manufacturers <li><b>[% nret %]</b> retailers </ul></p>