Minor modification of rake task: YYYY extracted from date.