这是 Python 的,不会报错,一年前是 2023-02-28 ```python from datetime import datetime from dateutil.relativedelta import relativedelta current_date = datetime.now() current_date - relativedelta(years=1) datetime.datetime(2023, 2, 28, 9, 57, 56, 185222) ```