Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
surykatka
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
surykatka
Commits
fc512e0b
Commit
fc512e0b
authored
Sep 22, 2021
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whois: fixup date reporting
parent
518db7b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/surykatka/bot.py
src/surykatka/bot.py
+6
-3
No files found.
src/surykatka/bot.py
View file @
fc512e0b
...
...
@@ -373,13 +373,16 @@ class WebBot:
"registrar"
:
domain_change
[
"registrar"
],
"whois_server"
:
domain_change
[
"whois_server"
],
"creation_date"
:
rfc822
(
domain_change
[
"creation_date"
])
if
(
domain_change
[
"creation_date"
]
is
not
None
)
if
(
type
(
domain_change
[
"creation_date"
])
is
datetime
.
datetime
)
else
None
,
"updated_date"
:
rfc822
(
domain_change
[
"updated_date"
])
if
(
domain_change
[
"updated_date"
]
is
not
Non
e
)
if
(
domain_change
[
"updated_date"
]
is
datetime
.
datetim
e
)
else
None
,
"expiration_date"
:
rfc822
(
domain_change
[
"expiration_date"
])
if
(
domain_change
[
"expiration_date"
]
is
not
Non
e
)
if
(
domain_change
[
"expiration_date"
]
is
datetime
.
datetim
e
)
else
None
,
"name_servers"
:
domain_change
[
"name_servers"
],
"whois_status"
:
domain_change
[
"whois_status"
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment