The term "third wednesday" seems to be evaluating incorrectly.
glaive 12:24:56 [~]% date Mon Oct 10 12:24:59 EDT 2011 glaive 12:24:59 [~]% date -d "first wednesday" Wed Oct 12 00:00:00 EDT 2011 glaive 12:25:09 [~]% date -d "second wednesday" Wed Oct 12 00:00:01 EDT 2011 glaive 12:25:16 [~]% date -d "third wednesday" Wed Oct 26 00:00:00 EDT 2011 glaive 12:25:21 [~]% date -d "fourth wednesday" Wed Nov 2 00:00:00 EDT 2011 glaive 12:25:27 [~]% date -d "fifth wednesday" Wed Nov 9 00:00:00 EST 2011 glaive 12:25:34 [~]% date -d "next wednesday" Wed Oct 12 00:00:00 EDT 2011 glaive 12:25:41 [~]% date -d "last wednesday" Wed Oct 5 00:00:00 EDT 2011 glaive 12:25:46 [~]% date -d "this wednesday" Wed Oct 12 00:00:00 EDT 2011 glaive 12:33:39 [~]% date -d "third wednesday this month" Wed Oct 26 00:00:00 EDT 2011 glaive 12:34:11 [~]% date -d "3 wednesday" Wed Oct 26 00:00:00 EDT 2011 glaive 12:34:13 [~]% date -d "2 wednesday" Wed Oct 19 00:00:00 EDT 2011 glaive 12:34:28 [~]% date -d "1 wednesday" Wed Oct 12 00:00:00 EDT 2011 glaive 12:34:39 [~]% date -d "4 wednesday" Wed Nov 2 00:00:00 EDT 2011