We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 076afcd commit 7766436Copy full SHA for 7766436
tests/common/date_parser.py
@@ -16,8 +16,9 @@ def test_default_to(self):
16
self.assertTrue(ts1 == ts2)
17
18
def test_default_from(self):
19
- ts1 = default_from()
20
- ts2 = int((dt.utcnow() - self.epoch).total_seconds() * 1000) - 86400000
+ ts1 = str(default_from())[:11]
+ ts2 = str(int((dt.utcnow() - self.epoch).total_seconds() * 1000)
21
+ - 86400000)[:11]
22
23
24
# Tests amounts
0 commit comments