The attached patch adds a new argument type, 'Node: Posted Day', which fits in with the Year and Month arguments. It tries to make sure that it returns the correct name of the day when year and month arguments are present.

CommentFileSizeAuthor
#2 views-DRUPAL-5.arg-day.patch2.75 KBsun
node_day_arg.diff2.42 KBmhutch
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

merlinofchaos’s picture

Status: Needs review » Reviewed & tested by the community

This looks ok, though I am going to wait until Views 1.6 is out of beta before committing.

sun’s picture

Status: Reviewed & tested by the community » Needs work
FileSize
2.75 KB

Re-rolled this patch.

However, this looks strange:

      return format_date(strtotime("200501{$day}"), 'custom', 'j', 0);

Huh? January 2005 or am I getting something wrong?

esmerel’s picture

Status: Needs work » Closed (won't fix)

Nobody's working on 1.x at this point.