Skip to content

Commit 9b2d88b

Browse files
docs: add explanatory comment for robust datetime parsing fallback
- Add comment explaining that ab_datetime_try_parse handles ISO8601/RFC3339 formats - Addresses PR feedback from @aaronsteers requesting documentation Co-Authored-By: AJ Steers <aj@airbyte.io>
1 parent b2b8788 commit 9b2d88b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airbyte_cdk/sources/declarative/incremental/datetime_based_cursor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ def parse_date(self, date: str) -> datetime.datetime:
317317

318318
# If we have not parsed by now, use the robust parser which handles
319319
# all common formats, including all formats supported by ISO8601
320-
# and RFC3306.
320+
# and RFC3339.
321321
parsed_dt = ab_datetime_try_parse(date)
322322
if parsed_dt is not None:
323323
return parsed_dt

0 commit comments

Comments
 (0)