Updated Dieselsweeties definition
Brought to you by:
amedico
Hi. Since Dieselsweeties was broken for some days, and additionally only worked for latest, I updated that definition to work for any.
As they are not releasing strips on weekends, i kept the old behaviour of repeating the friday strip.
Logged In: YES
user_id=1129488
Originator: NO
Of course there was an error in the calculations.
Correct would have been:
---------------------------------------------
strip dieselsweeties
name Diesel Sweeties
homepage http://www.dieselsweeties.com/gif.php
type generate
imageurl http://www.dieselsweeties.com/hstrips/<code:use POSIX;my$n = (strftime("%Y",localtime())-2000)*260.9+(strftime("%V",localtime())*5);my$d=strftime("%u",localtime());if($d\>5){$d=5;}my$n=sprintf("%2d.0f",$n-179)+$d;my$p=sprintf("%i/%i/%i/%i/%05i.png",($n/10000)%10,($n/1000)%10,($n/100)%10,($n/10)%10,$n);"$p">
provides any
end
---------------------------------------------