{"action":"created","comment":{"url":"https://api.github.com/repos/dylanaraps/neofetch/pulls/comments/92739751","pull_request_review_id":13260820,"id":92739751,"diff_hunk":"@@ -317,7 +317,7 @@ get_uptime() {\n                     boot=\"${boot/,*}\"\n \n                     # Get current date in seconds\n-                    now=\"$(date +%s)\"\n+                    now=\"$(printf \"%(%s)T\")\"","path":"neofetch","position":5,"original_position":5,"commit_id":"27e634fc0c039901f028c271210ed2cc8aa54f6a","original_commit_id":"27e634fc0c039901f028c271210ed2cc8aa54f6a","user":{"login":"dylanaraps","id":6799467,"avatar_url":"https://avatars.githubusercontent.com/u/6799467?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanaraps","html_url":"https://github.com/dylanaraps","followers_url":"https://api.github.com/users/dylanaraps/followers","following_url":"https://api.github.com/users/dylanaraps/following{/other_user}","gists_url":"https://api.github.com/users/dylanaraps/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanaraps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanaraps/subscriptions","organizations_url":"https://api.github.com/users/dylanaraps/orgs","repos_url":"https://api.github.com/users/dylanaraps/repos","events_url":"https://api.github.com/users/dylanaraps/events{/privacy}","received_events_url":"https://api.github.com/users/dylanaraps/received_events","type":"User","site_admin":false},"body":"Does it work when run inside Neofetch? \r\n\r\nDoes uptime display correctly?","created_at":"2016-12-16T02:10:20Z","updated_at":"2016-12-16T02:10:20Z","html_url":"https://github.com/dylanaraps/neofetch/pull/538#discussion_r92739751","pull_request_url":"https://api.github.com/repos/dylanaraps/neofetch/pulls/538","_links":{"self":{"href":"https://api.github.com/repos/dylanaraps/neofetch/pulls/comments/92739751"},"html":{"href":"https://github.com/dylanaraps/neofetch/pull/538#discussion_r92739751"},"pull_request":{"href":"https://api.github.com/repos/dylanaraps/neofetch/pulls/538"}}},"pull_request":{"url":"https://api.github.com/repos/dylanaraps/neofetch/pulls/538","id":98258022,"html_url":"https://github.com/dylanaraps/neofetch/pull/538","diff_url":"https://github.com/dylanaraps/neofetch/pull/538.diff","patch_url":"https://github.com/dylanaraps/neofetch/pull/538.patch","issue_url":"https://api.github.com/repos/dylanaraps/neofetch/issues/538","number":538,"state":"open","locked":false,"title":"Birthday: Remove 'date' usage and calclulate date manually","user":{"login":"dylanaraps","id":6799467,"avatar_url":"https://avatars.githubusercontent.com/u/6799467?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanaraps","html_url":"https://github.com/dylanaraps","followers_url":"https://api.github.com/users/dylanaraps/followers","following_url":"https://api.github.com/users/dylanaraps/following{/other_user}","gists_url":"https://api.github.com/users/dylanaraps/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanaraps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanaraps/subscriptions","organizations_url":"https://api.github.com/users/dylanaraps/orgs","repos_url":"https://api.github.com/users/dylanaraps/repos","events_url":"https://api.github.com/users/dylanaraps/events{/privacy}","received_events_url":"https://api.github.com/users/dylanaraps/received_events","type":"User","site_admin":false},"body":"## Description\r\n\r\nThis PR removes all `date` usage from Neofetch.\r\n\r\nThis adds a new function called `convert_time()` which takes the date time-stamp (eg. `2016-12-06 16:32.00000`) and converts it to (eg. `Tue 06 Dec 2016 4:58 PM`) using nothing but bash. This will allow us to use the same format for all OS since we no longer depend on `date.`\r\n\r\nThis PR also removes `$birthday_shorthand`, `$birthday_format` and `$birthday_time`.\r\n\r\nNote: This was more of a test to see if this was possible, it probably won't be added to master.\r\n\r\n\r\n## Issues\r\n\r\n- None yet\r\n\r\n## TODO\r\n\r\n- [ ] Testing\r\n    - [x] Linux | GNU | iOS\r\n    - [x] Windows\r\n    - [x] BSD\r\n    - [ ] macOS\r\n    - [x] Haiku\r\n    - [ ] Solaris\r\n\r\n## Sources\r\n\r\n**Calculating Leap Year**\r\n\r\nhttp://stackoverflow.com/questions/725098/leap-year-calculation\r\n\r\n```sh\r\nfunction isLeapYear (year):\r\n    if ((year modulo 4 is 0) and (year modulo 100 is not 0))\r\n    or (year modulo 400 is 0)\r\n        then true\r\n    else false\r\n```\r\n\r\n**Calculating Day of Week**\r\n\r\nhttp://blog.artofmemory.com/how-to-calculate-the-day-of-the-week-4203.html","created_at":"2016-12-16T00:25:05Z","updated_at":"2016-12-16T02:10:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de2957f275f995f52c127b09bebc4f01b63ecbc6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dylanaraps/neofetch/pulls/538/commits","review_comments_url":"https://api.github.com/repos/dylanaraps/neofetch/pulls/538/comments","review_comment_url":"https://api.github.com/repos/dylanaraps/neofetch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dylanaraps/neofetch/issues/538/comments","statuses_url":"https://api.github.com/repos/dylanaraps/neofetch/statuses/27e634fc0c039901f028c271210ed2cc8aa54f6a","head":{"label":"dylanaraps:birthday","ref":"birthday","sha":"27e634fc0c039901f028c271210ed2cc8aa54f6a","user":{"login":"dylanaraps","id":6799467,"avatar_url":"https://avatars.githubusercontent.com/u/6799467?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanaraps","html_url":"https://github.com/dylanaraps","followers_url":"https://api.github.com/users/dylanaraps/followers","following_url":"https://api.github.com/users/dylanaraps/following{/other_user}","gists_url":"https://api.github.com/users/dylanaraps/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanaraps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanaraps/subscriptions","organizations_url":"https://api.github.com/users/dylanaraps/orgs","repos_url":"https://api.github.com/users/dylanaraps/repos","events_url":"https://api.github.com/users/dylanaraps/events{/privacy}","received_events_url":"https://api.github.com/users/dylanaraps/received_events","type":"User","site_admin":false},"repo":{"id":48795298,"name":"neofetch","full_name":"dylanaraps/neofetch","owner":{"login":"dylanaraps","id":6799467,"avatar_url":"https://avatars.githubusercontent.com/u/6799467?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanaraps","html_url":"https://github.com/dylanaraps","followers_url":"https://api.github.com/users/dylanaraps/followers","following_url":"https://api.github.com/users/dylanaraps/following{/other_user}","gists_url":"https://api.github.com/users/dylanaraps/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanaraps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanaraps/subscriptions","organizations_url":"https://api.github.com/users/dylanaraps/orgs","repos_url":"https://api.github.com/users/dylanaraps/repos","events_url":"https://api.github.com/users/dylanaraps/events{/privacy}","received_events_url":"https://api.github.com/users/dylanaraps/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dylanaraps/neofetch","description":"neofetch - A fast, highly customizable system info script that supports Linux, MacOS, iOS, BSD, Solaris, Android, Haiku, GNU Hurd and Windows (Cygwin/Windows 10 Linux subsystem)","fork":false,"url":"https://api.github.com/repos/dylanaraps/neofetch","forks_url":"https://api.github.com/repos/dylanaraps/neofetch/forks","keys_url":"https://api.github.com/repos/dylanaraps/neofetch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dylanaraps/neofetch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dylanaraps/neofetch/teams","hooks_url":"https://api.github.com/repos/dylanaraps/neofetch/hooks","issue_events_url":"https://api.github.com/repos/dylanaraps/neofetch/issues/events{/number}","events_url":"https://api.github.com/repos/dylanaraps/neofetch/events","assignees_url":"https://api.github.com/repos/dylanaraps/neofetch/assignees{/user}","branches_url":"https://api.github.com/repos/dylanaraps/neofetch/branches{/branch}","tags_url":"https://api.github.com/repos/dylanaraps/neofetch/tags","blobs_url":"https://api.github.com/repos/dylanaraps/neofetch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dylanaraps/neofetch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dylanaraps/neofetch/git/refs{/sha}","trees_url":"https://api.github.com/repos/dylanaraps/neofetch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dylanaraps/neofetch/statuses/{sha}","languages_url":"https://api.github.com/repos/dylanaraps/neofetch/languages","stargazers_url":"https://api.github.com/repos/dylanaraps/neofetch/stargazers","contributors_url":"https://api.github.com/repos/dylanaraps/neofetch/contributors","subscribers_url":"https://api.github.com/repos/dylanaraps/neofetch/subscribers","subscription_url":"https://api.github.com/repos/dylanaraps/neofetch/subscription","commits_url":"https://api.github.com/repos/dylanaraps/neofetch/commits{/sha}","git_commits_url":"https://api.github.com/repos/dylanaraps/neofetch/git/commits{/sha}","comments_url":"https://api.github.com/repos/dylanaraps/neofetch/comments{/number}","issue_comment_url":"https://api.github.com/repos/dylanaraps/neofetch/issues/comments{/number}","contents_url":"https://api.github.com/repos/dylanaraps/neofetch/contents/{+path}","compare_url":"https://api.github.com/repos/dylanaraps/neofetch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dylanaraps/neofetch/merges","archive_url":"https://api.github.com/repos/dylanaraps/neofetch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dylanaraps/neofetch/downloads","issues_url":"https://api.github.com/repos/dylanaraps/neofetch/issues{/number}","pulls_url":"https://api.github.com/repos/dylanaraps/neofetch/pulls{/number}","milestones_url":"https://api.github.com/repos/dylanaraps/neofetch/milestones{/number}","notifications_url":"https://api.github.com/repos/dylanaraps/neofetch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dylanaraps/neofetch/labels{/name}","releases_url":"https://api.github.com/repos/dylanaraps/neofetch/releases{/id}","deployments_url":"https://api.github.com/repos/dylanaraps/neofetch/deployments","created_at":"2015-12-30T10:19:46Z","updated_at":"2016-12-15T10:27:06Z","pushed_at":"2016-12-16T01:51:07Z","git_url":"git://github.com/dylanaraps/neofetch.git","ssh_url":"git@github.com:dylanaraps/neofetch.git","clone_url":"https://github.com/dylanaraps/neofetch.git","svn_url":"https://github.com/dylanaraps/neofetch","homepage":"","size":3872,"stargazers_count":1136,"watchers_count":1136,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":79,"mirror_url":null,"open_issues_count":7,"forks":79,"open_issues":7,"watchers":1136,"default_branch":"master"}},"base":{"label":"dylanaraps:master","ref":"master","sha":"09de2155f7e98feb500383fc1b8c4f8f290b23ef","user":{"login":"dylanaraps","id":6799467,"avatar_url":"https://avatars.githubusercontent.com/u/6799467?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanaraps","html_url":"https://github.com/dylanaraps","followers_url":"https://api.github.com/users/dylanaraps/followers","following_url":"https://api.github.com/users/dylanaraps/following{/other_user}","gists_url":"https://api.github.com/users/dylanaraps/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanaraps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanaraps/subscriptions","organizations_url":"https://api.github.com/users/dylanaraps/orgs","repos_url":"https://api.github.com/users/dylanaraps/repos","events_url":"https://api.github.com/users/dylanaraps/events{/privacy}","received_events_url":"https://api.github.com/users/dylanaraps/received_events","type":"User","site_admin":false},"repo":{"id":48795298,"name":"neofetch","full_name":"dylanaraps/neofetch","owner":{"login":"dylanaraps","id":6799467,"avatar_url":"https://avatars.githubusercontent.com/u/6799467?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanaraps","html_url":"https://github.com/dylanaraps","followers_url":"https://api.github.com/users/dylanaraps/followers","following_url":"https://api.github.com/users/dylanaraps/following{/other_user}","gists_url":"https://api.github.com/users/dylanaraps/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanaraps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanaraps/subscriptions","organizations_url":"https://api.github.com/users/dylanaraps/orgs","repos_url":"https://api.github.com/users/dylanaraps/repos","events_url":"https://api.github.com/users/dylanaraps/events{/privacy}","received_events_url":"https://api.github.com/users/dylanaraps/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dylanaraps/neofetch","description":"neofetch - A fast, highly customizable system info script that supports Linux, MacOS, iOS, BSD, Solaris, Android, Haiku, GNU Hurd and Windows (Cygwin/Windows 10 Linux subsystem)","fork":false,"url":"https://api.github.com/repos/dylanaraps/neofetch","forks_url":"https://api.github.com/repos/dylanaraps/neofetch/forks","keys_url":"https://api.github.com/repos/dylanaraps/neofetch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dylanaraps/neofetch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dylanaraps/neofetch/teams","hooks_url":"https://api.github.com/repos/dylanaraps/neofetch/hooks","issue_events_url":"https://api.github.com/repos/dylanaraps/neofetch/issues/events{/number}","events_url":"https://api.github.com/repos/dylanaraps/neofetch/events","assignees_url":"https://api.github.com/repos/dylanaraps/neofetch/assignees{/user}","branches_url":"https://api.github.com/repos/dylanaraps/neofetch/branches{/branch}","tags_url":"https://api.github.com/repos/dylanaraps/neofetch/tags","blobs_url":"https://api.github.com/repos/dylanaraps/neofetch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dylanaraps/neofetch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dylanaraps/neofetch/git/refs{/sha}","trees_url":"https://api.github.com/repos/dylanaraps/neofetch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dylanaraps/neofetch/statuses/{sha}","languages_url":"https://api.github.com/repos/dylanaraps/neofetch/languages","stargazers_url":"https://api.github.com/repos/dylanaraps/neofetch/stargazers","contributors_url":"https://api.github.com/repos/dylanaraps/neofetch/contributors","subscribers_url":"https://api.github.com/repos/dylanaraps/neofetch/subscribers","subscription_url":"https://api.github.com/repos/dylanaraps/neofetch/subscription","commits_url":"https://api.github.com/repos/dylanaraps/neofetch/commits{/sha}","git_commits_url":"https://api.github.com/repos/dylanaraps/neofetch/git/commits{/sha}","comments_url":"https://api.github.com/repos/dylanaraps/neofetch/comments{/number}","issue_comment_url":"https://api.github.com/repos/dylanaraps/neofetch/issues/comments{/number}","contents_url":"https://api.github.com/repos/dylanaraps/neofetch/contents/{+path}","compare_url":"https://api.github.com/repos/dylanaraps/neofetch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dylanaraps/neofetch/merges","archive_url":"https://api.github.com/repos/dylanaraps/neofetch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dylanaraps/neofetch/downloads","issues_url":"https://api.github.com/repos/dylanaraps/neofetch/issues{/number}","pulls_url":"https://api.github.com/repos/dylanaraps/neofetch/pulls{/number}","milestones_url":"https://api.github.com/repos/dylanaraps/neofetch/milestones{/number}","notifications_url":"https://api.github.com/repos/dylanaraps/neofetch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dylanaraps/neofetch/labels{/name}","releases_url":"https://api.github.com/repos/dylanaraps/neofetch/releases{/id}","deployments_url":"https://api.github.com/repos/dylanaraps/neofetch/deployments","created_at":"2015-12-30T10:19:46Z","updated_at":"2016-12-15T10:27:06Z","pushed_at":"2016-12-16T01:51:07Z","git_url":"git://github.com/dylanaraps/neofetch.git","ssh_url":"git@github.com:dylanaraps/neofetch.git","clone_url":"https://github.com/dylanaraps/neofetch.git","svn_url":"https://github.com/dylanaraps/neofetch","homepage":"","size":3872,"stargazers_count":1136,"watchers_count":1136,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":79,"mirror_url":null,"open_issues_count":7,"forks":79,"open_issues":7,"watchers":1136,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dylanaraps/neofetch/pulls/538"},"html":{"href":"https://github.com/dylanaraps/neofetch/pull/538"},"issue":{"href":"https://api.github.com/repos/dylanaraps/neofetch/issues/538"},"comments":{"href":"https://api.github.com/repos/dylanaraps/neofetch/issues/538/comments"},"review_comments":{"href":"https://api.github.com/repos/dylanaraps/neofetch/pulls/538/comments"},"review_comment":{"href":"https://api.github.com/repos/dylanaraps/neofetch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dylanaraps/neofetch/pulls/538/commits"},"statuses":{"href":"https://api.github.com/repos/dylanaraps/neofetch/statuses/27e634fc0c039901f028c271210ed2cc8aa54f6a"}}}}
{"actor":{"display_login":"dylanaraps"}}