Talk:Crosswords/

It would perhaps be better for this page to be a list of years, with links to Crosswords/YYYY, and then each of those to be a list of months, with links to Crosswords/YYYY/MM, and each of those to be a list of dates with links. Not sure if including the future dates is desired, but it would save an updating burden.

Below is the code I have used to generate this. I hereby dual-license it under whatever terms Wikinews has plus the GNU General public license. I presume that this doesn't make much of a difference since the terms of the day appear to be public domain...

I am w:User:Jdavidb.


 * 1) !/usr/local/bin/perl

use warnings; use strict;

use Time::Piece; use Time::Seconds qw(ONE_DAY);

my $day = Time::Piece->strptime("2005-01-27", "%Y-%m-%d"); my $stop = Time::Piece->strptime("2005-12-31", "%Y-%m-%d");

my $prevmonth = "January"; print "=== $prevmonth ===\n\n"; while ($day <= $stop) { my $month = $day->strftime("%B"); print "\n=== $month ===\n\n" if $month ne $prevmonth; $prevmonth = $month; print $day->strftime("* %B %d\n"); $day += ONE_DAY; }

(Urgh. To get decent formatting, I suppose you'll have to click "edit this page.") 170.35.224.64 15:49, 25 Feb 2005 (UTC)