Format timedelta using string variable,"'timedelta(%s=%d)' % ('days', 2)"