Commit 60e258f
committed
fix: remove repo_url and replace strptime with dateparser in grafana importer
- Removed repo_url class attribute (not part of the base class contract)
- Replaced datetime.strptime + timezone.utc with dateparser.parse() for
consistency with the ZDI importer and flexibility with date formats
- Removed unused datetime and timezone stdlib imports1 parent aa58447 commit 60e258f
1 file changed
+4
-9
lines changedLines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | 13 | | |
16 | 14 | | |
| 15 | + | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | | - | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
| |||
145 | 143 | | |
146 | 144 | | |
147 | 145 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
154 | 149 | | |
155 | 150 | | |
156 | 151 | | |
| |||
0 commit comments