Skip to content

Commit 6f0923f

Browse files
committed
internal: add lost week in interval __str__
1 parent 6512af8 commit 6f0923f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tarantool/msgpack_ext/types/interval.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ def __eq__(self, other):
231231
return True
232232

233233
def __repr__(self):
234-
return f'tarantool.Interval(year={self.year}, month={self.month}, day={self.day}, ' + \
235-
f'hour={self.hour}, minute={self.minute}, sec={self.sec}, ' + \
234+
return f'tarantool.Interval(year={self.year}, month={self.month}, week={self.week}, ' + \
235+
f'day={self.day}, hour={self.hour}, minute={self.minute}, sec={self.sec}, ' + \
236236
f'nsec={self.nsec}, adjust={self.adjust})'
237237

238238
__str__ = __repr__

0 commit comments

Comments
 (0)