inputs/moment: use a better name for the time-delta like operator
2 files changed, 2 insertions(+), 2 deletions(-)

M rework/input.py
M tests/test_api.py
M rework/input.py +1 -1
@@ 125,7 125,7 @@ def last_day_of_month(dt):
     'monthend': lambda dt: dt.replace(day=last_day_of_month(dt)),
     'yearstart': lambda dt: dt.replace(day=1, month=1),
     'yearend': lambda dt: dt.replace(day=31, month=12),
-    'delta': lambda dt, **kw: dt + relativedelta(**kw),
+    'shifted': lambda dt, **kw: dt + relativedelta(**kw),
 })
 
 

          
M tests/test_api.py +1 -1
@@ 191,7 191,7 @@ def test_moment_input(engine, cleanup):
     t = api.schedule(
         engine,
         'happy_days',
-        inputdata={'when': '(delta (today) #:days 1)'}
+        inputdata={'when': '(shifted (today) #:days 1)'}
     )
     when = t.input['when']
     assert when > dt.now()