Skip to content

Commit c4f64cd

Browse files
authored
internal: add lost week in interval __str__
1 parent 6512af8 commit c4f64cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tarantool/msgpack_ext/types/interval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ 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}, ' + \
234+
return f'tarantool.Interval(year={self.year}, month={self.month}, week={self.week}, day={self.day}, ' + \
235235
f'hour={self.hour}, minute={self.minute}, sec={self.sec}, ' + \
236236
f'nsec={self.nsec}, adjust={self.adjust})'
237237

0 commit comments

Comments
 (0)