We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8e5087 commit 76ffdd9Copy full SHA for 76ffdd9
arctic/date/_daterange.py
@@ -85,12 +85,12 @@ def intersection(self, other):
85
else self.startopen if other.start is None \
86
else other.startopen if self.start < other.start \
87
else self.startopen if self.start > other.start \
88
- else (self.startopen and other.startopen)
+ else (self.startopen or other.startopen)
89
endopen = other.endopen if self.end is None \
90
else self.endopen if other.end is None \
91
else other.endopen if self.end > other.end \
92
else self.endopen if self.end < other.end \
93
- else (self.endopen and other.endopen)
+ else (self.endopen or other.endopen)
94
95
new_start = self.start if other.start is None \
96
else other.start if self.start is None \
0 commit comments