date.py: fixed spelling in called function name

Change-Id: I076167fdf7f5ec2966b78488fc468f859412955b