diff options
Diffstat (limited to 'dot_ipython')
-rw-r--r-- | dot_ipython/profile_default/startup/45_datetime.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dot_ipython/profile_default/startup/45_datetime.py b/dot_ipython/profile_default/startup/45_datetime.py index d8dcf4e..4dd592b 100644 --- a/dot_ipython/profile_default/startup/45_datetime.py +++ b/dot_ipython/profile_default/startup/45_datetime.py @@ -59,14 +59,14 @@ D = lambda d: datetime.timedelta(days=d) H = lambda h: datetime.timedelta(hours=h) M = lambda m: datetime.timedelta(minutes=m) S = lambda s: datetime.timedelta(seconds=s) -B = lambda s: BDelta(s) +B = lambda s: BD(s) def now(tz=UTC): return datetime.datetime.now(tz=tz) -class BDelta: +class BD: """Convenient dev weekday delta.""" def __init__(self, n: int): |