«« Much Ado About ... mad skillz »»
blog header image
index schmindex

The code for my index page borked this morning for a very simple reason: I had no posts in November. Now that I have one, it should work.

update 11:38 AM Nope, it didn't. The "1" was zero-padded and the script missed it.

What the script does is start at the current day and checks to see if a post exists. If not, it goes back day by day until it finds one. The main problem with my old code is that once it hit the start of the month on its way back, it didn't go to the end of the previous month. The same thing will happen if it reaches the start of a year (maybe I should put that code in now?).

Posted at November 01, 2002 at 11:19 AM EST
Last updated November 01, 2002 at 11:19 AM EST
Comments

wait until january... you might upset the avid readers of your blog, but at least you'll know the situation is fixed because it will start working again (and if nothing happens then y2k for you)

» Posted by: duru at November 5, 2002 02:56 PM
Google
 
Search scope: Web ryanlowe.ca