Fix typo in bash date handling