mirror of
https://github.com/kennethreitz/maya.git
synced 2026-06-05 06:46:14 +00:00
+1
-1
@@ -602,7 +602,7 @@ class MayaInterval(object):
|
||||
start += duration
|
||||
|
||||
def quantize(self, duration, snap_out=False, timezone="UTC"):
|
||||
"""Returns a quanitzed interval."""
|
||||
"""Returns a quantized interval."""
|
||||
# Convert seconds to timedelta, if appropriate.
|
||||
duration = _seconds_or_timedelta(duration)
|
||||
timezone = pytz.timezone(timezone)
|
||||
|
||||
Reference in New Issue
Block a user