BUG: CustomBusinessDay apply raises NameError when np.datetime64 is passed