Title: SetDate p/invoke · Issue #6962 · PowerShell/PowerShell · GitHub
Open Graph Title: SetDate p/invoke · Issue #6962 · PowerShell/PowerShell
X Title: SetDate p/invoke · Issue #6962 · PowerShell/PowerShell
Description: We use p/invoke to set system datetime. Proposed API in CoreFX repo . While we wait the API we could replace two mktime and settimeofday libc calls with stime on Unix. This eliminates unnecessary mktime call and marshaling of tm structure.
Open Graph Description: We use p/invoke to set system datetime. Proposed API in CoreFX repo . While we wait the API we could replace two mktime and settimeofday libc calls with stime on Unix. This eliminates unnecessary m...
X Description: We use p/invoke to set system datetime. Proposed API in CoreFX repo . While we wait the API we could replace two mktime and settimeofday libc calls with stime on Unix. This eliminates unnecessary m...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/6962
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SetDate p/invoke","articleBody":"We use p/invoke to set system datetime.\r\n[Proposed API in CoreFX repo ](https://github.com/dotnet/corefx/issues/29976).\r\n\r\nWhile we wait the API we could replace two `mktime` and `settimeofday` libc calls with [`stime`](https://linux.die.net/man/2/stime) on Unix. This eliminates unnecessary mktime call and marshaling of `tm` structure.","author":{"url":"https://github.com/iSazonov","@type":"Person","name":"iSazonov"},"datePublished":"2018-05-31T08:56:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/6962/PowerShell/issues/6962"}
| 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:bde8bc3b-a11d-c5b9-f08e-d665d3a32a41 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA98:9083B:3EC146:5671A0:6A551BD9 |
| html-safe-nonce | f20af9d1ad8e5bc27ce9a9b79264b399497956b27487a8baf740fc2066147451 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTk4OjkwODNCOjNFQzE0Njo1NjcxQTA6NkE1NTFCRDkiLCJ2aXNpdG9yX2lkIjoiMjE3NjAwMDkxNzI0NTIwNDA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cf3ebdd985c5991cc1d7c602b431afdbfe78f3a13f372794438fd42f00f83a55 |
| hovercard-subject-tag | issue:328050856 |
| 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/PowerShell/PowerShell/6962/issue_layout |
| twitter:image | https://opengraph.githubassets.com/be2fc6dfc861d295cd9335b307a27a5ca928d7a25fc5913ba4105fddfdbe5667/PowerShell/PowerShell/issues/6962 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/be2fc6dfc861d295cd9335b307a27a5ca928d7a25fc5913ba4105fddfdbe5667/PowerShell/PowerShell/issues/6962 |
| og:image:alt | We use p/invoke to set system datetime. Proposed API in CoreFX repo . While we wait the API we could replace two mktime and settimeofday libc calls with stime on Unix. This eliminates unnecessary m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iSazonov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 682d273eacb2ac51680c6eb9c0b270f029f7ce74c32090f319083c34497e28a5 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| 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 | 3b6d37c6470adadff4194742daaab9a817cc4980 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width