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 59cd69c commit c9b6c1bCopy full SHA for c9b6c1b
tests/expressions/test_literals.py
@@ -275,7 +275,7 @@ def test_decimal_to_decimal_conversion() -> None:
275
276
277
def test_timestamp_to_date() -> None:
278
- epoch_lit = TimestampLiteral(int(datetime.datetime.fromisoformat("1970-01-01T01:23:45.678").timestamp() * 1_000_000))
+ epoch_lit = TimestampLiteral(int(datetime.datetime.fromisoformat("1970-01-01T00:00:00.000000+00:00").timestamp() * 1_000_000))
279
date_lit = epoch_lit.to(DateType())
280
281
assert date_lit.value == 0
0 commit comments