Title: document regarding git_time_t should be clear about its unit · Issue #4908 · libgit2/libgit2 · GitHub
Open Graph Title: document regarding git_time_t should be clear about its unit · Issue #4908 · libgit2/libgit2
X Title: document regarding git_time_t should be clear about its unit · Issue #4908 · libgit2/libgit2
Description: Reproduction steps This is a documentation bug. Wherever the type git_time_t is mentioned in the document or in the example, there is no mentioning of its unit. Is this the milliseconds since the Epoch or the seconds since the Epoch? b5c...
Open Graph Description: Reproduction steps This is a documentation bug. Wherever the type git_time_t is mentioned in the document or in the example, there is no mentioning of its unit. Is this the milliseconds since the E...
X Description: Reproduction steps This is a documentation bug. Wherever the type git_time_t is mentioned in the document or in the example, there is no mentioning of its unit. Is this the milliseconds since the E...
Mail addresses
schacon@gmail.com
scott@github.com
Opengraph URL: https://github.com/libgit2/libgit2/issues/4908
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"document regarding git_time_t should be clear about its unit","articleBody":"### Reproduction steps\r\n\r\nThis is a documentation bug. Wherever the type git_time_t is mentioned in the document or in the example, there is no mentioning of its unit. \r\n\r\nIs this the milliseconds since the Epoch or the seconds since the Epoch?\r\n\r\n\r\n\r\nhttps://github.com/libgit2/libgit2/commit/b5c00c6d41ff4eb809f7deda38fe61ccaacb7cbf\r\n\r\nhttps://libgit2.org/libgit2/#HEAD/group/signature/git_signature_new\r\n\r\nSimilarly in examples, large, incomprehensible integers are used for git_time_t, hard to understand what they mean.\r\n\r\nhttps://libgit2.org/libgit2/ex/HEAD/general.html#git_signature_new-80\r\n\r\n\r\n git_signature_new(\u0026author,\r\n \"Scott Chacon\", \"schacon@gmail.com\", 123456789, 60);\r\n git_signature_new(\u0026committer,\r\n \"Scott A Chacon\", \"scott@github.com\", 987654321, 90);\r\n\r\n\r\n### Expected behavior\r\n\r\nThe document should be clear about the type's meaning. the current description \"time when the action happened\" isn't a very useful guide on using this api.\r\n\r\n### Actual behavior\r\n\r\n### Version of libgit2 (release number or SHA1)\r\nb5c00c6d41ff4eb809f7deda38fe61ccaacb7cbf\r\n### Operating system(s) tested\r\nn/a","author":{"url":"https://github.com/shi-yan","@type":"Person","name":"shi-yan"},"datePublished":"2018-12-13T01:55:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/4908/libgit2/issues/4908"}
| 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:3710c87a-7039-cede-7d68-a47a3bc63b3a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D154:3BAF11:10C5299:16D1DD8:6A5F104E |
| html-safe-nonce | 537dca605fc05335b2c0803f96e0ab7d8db1005cbd4b3bec28598a093211b1dc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTU0OjNCQUYxMToxMEM1Mjk5OjE2RDFERDg6NkE1RjEwNEUiLCJ2aXNpdG9yX2lkIjoiMzE2MDUyNTI4MDgxMDgzMTk1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ad14424fb507df8467081e7c9482bc370ca10dd698f000afd0fbb19e4d0befec |
| hovercard-subject-tag | issue:390485085 |
| 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/libgit2/libgit2/4908/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9a488ad5a3712d18ee4a904dc05546fe81081c5e9eb57389884eff7c7ce1aefd/libgit2/libgit2/issues/4908 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9a488ad5a3712d18ee4a904dc05546fe81081c5e9eb57389884eff7c7ce1aefd/libgit2/libgit2/issues/4908 |
| og:image:alt | Reproduction steps This is a documentation bug. Wherever the type git_time_t is mentioned in the document or in the example, there is no mentioning of its unit. Is this the milliseconds since the E... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shi-yan |
| hostname | github.com |
| expected-hostname | github.com |
| None | bf8fa4b42b6d150def6175efb9b0f1ec8e9628d7229ee2bdf6e850e7bdad923e |
| turbo-cache-control | no-preview |
| go-import | github.com/libgit2/libgit2 git https://github.com/libgit2/libgit2.git |
| octolytics-dimension-user_id | 394745 |
| octolytics-dimension-user_login | libgit2 |
| octolytics-dimension-repository_id | 901662 |
| octolytics-dimension-repository_nwo | libgit2/libgit2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 901662 |
| octolytics-dimension-repository_network_root_nwo | libgit2/libgit2 |
| 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 | 7debc3c6cd5de09c6e22b47a1b9982acb2aabb7b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width