Fix issue with 'now' script crafting invalid dates.