AttributeError: module 'dataparser' has no attribute 'parse'
import datetime
import dataparser
time = str(input())
def ban_time_calc(time):
data_format = '%Y-%m-%d %H:%M:%S'
timedelta = dataparser.parse(time, languages=['en']).strftime(data_format)
time_now = datetime.datetime.now().strftime(data_format)
unban_date = time_now + timedelta
return unban_date
ban_time_calc(time)