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 fee7b5a commit 381f8a1Copy full SHA for 381f8a1
.gitignore
@@ -22,7 +22,6 @@ venv*
22
/config/
23
*.code-workspace
24
*/build/
25
-docs/_build/
26
.DS_Store
27
.coverage
28
.dccache
plugins/posthog/fix_plugin_posthog/resources.py
@@ -112,8 +112,8 @@ def new(data: Dict) -> BaseResource:
112
)
113
114
115
-def convert_date(date_str: str) -> Optional[datetime]:
+def convert_date(isodate_str: str) -> Optional[datetime]:
116
try:
117
- return datetime.strptime(date_str, "%Y-%m-%dT%H:%M:%S.%fZ")
+ return datetime.strptime(isodate_str, "%Y-%m-%dT%H:%M:%S.%fZ")
118
except Exception:
119
return None
0 commit comments