Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

whoisquery: fix expiration date parsing #575

Merged
merged 1 commit into from
May 17, 2021
Merged

whoisquery: fix expiration date parsing #575

merged 1 commit into from
May 17, 2021

Conversation

ilyam8
Copy link
Member

@ilyam8 ilyam8 commented May 17, 2021

Fixes: #574

The fix is using https://github.com/araddon/dateparse for parsing the expiration date. The library allows parsing date strings without knowing the format in advance.

@ilyam8 ilyam8 changed the title module/whoisquery: fix expiration date whoisquery: fix expiration date May 17, 2021
@ilyam8 ilyam8 changed the title whoisquery: fix expiration date whoisquery: fix expiration date parsing May 17, 2021
@netdata-community-bot
Copy link

This pull request has been mentioned on Netdata Community. There might be relevant details there:

https://community.netdata.cloud/t/go-plugin-whois-monitor-cant-get-correct-expiration-time/1304/3

@ilyam8 ilyam8 marked this pull request as ready for review May 17, 2021 10:38
@ilyam8 ilyam8 requested a review from vlvkobal May 17, 2021 10:39
@ilyam8 ilyam8 added the data-collection-mteam needed for ZenHub label May 17, 2021
@ilyam8 ilyam8 merged commit c538c7a into netdata:master May 17, 2021
@ilyam8 ilyam8 deleted the whoisquery_fix_expiration_date_parsing branch May 17, 2021 10:51
boxjan pushed a commit to AgoraLab/go.d.plugin that referenced this pull request Feb 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

whoisquery: fails to parse expiration date
3 participants