Skip to content

Commit 82051b8

Browse files
ruff
1 parent b745ad9 commit 82051b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlglot/dialects/duckdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,7 @@ def strtotime_sql(self, expression: exp.StrToTime) -> str:
18291829
exp.DataType.Type.TIMESTAMPTZ if needs_tz else exp.DataType.Type.TIMESTAMP
18301830
)
18311831
return self.sql(
1832-
exp.cast(self.func('TRY_STRPTIME', expression.this, formatted_time), cast_type)
1832+
exp.cast(self.func("TRY_STRPTIME", expression.this, formatted_time), cast_type)
18331833
)
18341834

18351835
base_sql = str_to_time_sql(self, expression)

0 commit comments

Comments
 (0)