Title: name.com tld parsing problem · Issue #2 · SimpleUpdates/phpwhois · GitHub
Open Graph Title: name.com tld parsing problem · Issue #2 · SimpleUpdates/phpwhois
X Title: name.com tld parsing problem · Issue #2 · SimpleUpdates/phpwhois
Description: Name.com whois server is returning dates with timestamp included which messes up the parsed data. whois.gtld.name.php should have these two array elements set like this: 'domain.created' => 'Creation Date:', 'domain.expires' => 'Expirati...
Open Graph Description: Name.com whois server is returning dates with timestamp included which messes up the parsed data. whois.gtld.name.php should have these two array elements set like this: 'domain.created' => 'Creati...
X Description: Name.com whois server is returning dates with timestamp included which messes up the parsed data. whois.gtld.name.php should have these two array elements set like this: 'domain.created' =&...
Opengraph URL: https://github.com/SimpleUpdates/phpwhois/issues/2
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"name.com tld parsing problem","articleBody":"Name.com whois server is returning dates with timestamp included which messes up the parsed data.\n\nwhois.gtld.name.php\n\nshould have these two array elements set like this:\n\n```\n'domain.created' =\u003e 'Creation Date:',\n'domain.expires' =\u003e 'Expiration Date:'\n```\n\nand I've fixed the parser by adding this code in the beginning whois.parser.php get_date function:\n\n```\nif(strtotime($date) \u003e 0) {\n return date('Y-m-d', strtotime($date));\n}\n```\n\nI don't know if this change affects other date formats, so thread carefully.\n","author":{"url":"https://github.com/alesf","@type":"Person","name":"alesf"},"datePublished":"2013-07-09T12:09:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/2/phpwhois/issues/2"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:aa6fa0a0-c5d4-3a5c-fe8b-fe995c99cac9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8FE0:238CA7:311234B:3FD7CC9:6A5CDD89 |
| html-safe-nonce | 1e3022a0d58a553e38afa51a17c7c115511eba0420ecada3d91f642af196924d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkUwOjIzOENBNzozMTEyMzRCOjNGRDdDQzk6NkE1Q0REODkiLCJ2aXNpdG9yX2lkIjoiNjA0NDIxMTc1ODY4NDQ4MTM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 82d7c87e037306cac4de220c59d9b35d3bf4e69b47813d7507a2172fa63416d8 |
| hovercard-subject-tag | issue:16521223 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/SimpleUpdates/phpwhois/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b270503cd38cf11455e94d092329de1a033aa7b6f4773cb16733f0538463d4cf/SimpleUpdates/phpwhois/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b270503cd38cf11455e94d092329de1a033aa7b6f4773cb16733f0538463d4cf/SimpleUpdates/phpwhois/issues/2 |
| og:image:alt | Name.com whois server is returning dates with timestamp included which messes up the parsed data. whois.gtld.name.php should have these two array elements set like this: 'domain.created' => 'Creati... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alesf |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/SimpleUpdates/phpwhois git https://github.com/SimpleUpdates/phpwhois.git |
| octolytics-dimension-user_id | 484480 |
| octolytics-dimension-user_login | SimpleUpdates |
| octolytics-dimension-repository_id | 4913683 |
| octolytics-dimension-repository_nwo | SimpleUpdates/phpwhois |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 4913683 |
| octolytics-dimension-repository_network_root_nwo | SimpleUpdates/phpwhois |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width