The git log command understands dates such as "1 year ago", so there is no need to use the date command.