test-date: fix sscanf type conversion