make sure strftime succeeded