{"action":"created","issue":{"url":"https://api.github.com/repos/NLog/NLog/issues/1284","repository_url":"https://api.github.com/repos/NLog/NLog","labels_url":"https://api.github.com/repos/NLog/NLog/issues/1284/labels{/name}","comments_url":"https://api.github.com/repos/NLog/NLog/issues/1284/comments","events_url":"https://api.github.com/repos/NLog/NLog/issues/1284/events","html_url":"https://github.com/NLog/NLog/issues/1284","id":138276465,"number":1284,"title":"{$processtime} has incorrect formatting","user":{"login":"jggrant","id":4975410,"avatar_url":"https://avatars.githubusercontent.com/u/4975410?v=3","gravatar_id":"","url":"https://api.github.com/users/jggrant","html_url":"https://github.com/jggrant","followers_url":"https://api.github.com/users/jggrant/followers","following_url":"https://api.github.com/users/jggrant/following{/other_user}","gists_url":"https://api.github.com/users/jggrant/gists{/gist_id}","starred_url":"https://api.github.com/users/jggrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jggrant/subscriptions","organizations_url":"https://api.github.com/users/jggrant/orgs","repos_url":"https://api.github.com/users/jggrant/repos","events_url":"https://api.github.com/users/jggrant/events{/privacy}","received_events_url":"https://api.github.com/users/jggrant/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NLog/NLog/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-03T19:38:29Z","updated_at":"2016-03-03T19:54:25Z","closed_at":null,"body":"The layout renderer {$processtime} documentation indicates it is of the format HH:mm:ss.mmm. However, 4 digits are printed for the milliseconds part instead of 3.\r\n\r\nAdditionally, the first line printed can sometime have a negative result, resulting in a format like \"00:00:00.000-5\".\r\n\r\n**Type**: Bug\r\n\r\n**NLog version**: 4.1.2 (looking at the 4.2.3 source, the implementation bug is still there)\r\n\r\n**Platform**: .Net 4.5\r\n\r\n**Current NLog config** Irrelevant\r\n\r\nIn case of a BUG:\r\n\r\n- What is the current result?\r\n00:00:17.0564\r\n- What is the expected result?\r\n00:00:17.564\r\n- Did you checked the [Internal log](https://github.com/NLog/NLog/wiki/Internal-Logging)?\r\nNo\r\n- Please post full exception details (message, stacktrace, inner exceptions)\r\nN/A\r\n- Are there any work arrounds? yes/no\r\nWrite a custom renderer doing the same job with different formatting.\r\n- Is there a version in which it did worked? \r\nNo\r\n- Can you help us by writing an unit test?\r\nMaybe\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NLog/NLog/issues/comments/191934583","html_url":"https://github.com/NLog/NLog/issues/1284#issuecomment-191934583","issue_url":"https://api.github.com/repos/NLog/NLog/issues/1284","id":191934583,"user":{"login":"304NotModified","id":5808377,"avatar_url":"https://avatars.githubusercontent.com/u/5808377?v=3","gravatar_id":"","url":"https://api.github.com/users/304NotModified","html_url":"https://github.com/304NotModified","followers_url":"https://api.github.com/users/304NotModified/followers","following_url":"https://api.github.com/users/304NotModified/following{/other_user}","gists_url":"https://api.github.com/users/304NotModified/gists{/gist_id}","starred_url":"https://api.github.com/users/304NotModified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/304NotModified/subscriptions","organizations_url":"https://api.github.com/users/304NotModified/orgs","repos_url":"https://api.github.com/users/304NotModified/repos","events_url":"https://api.github.com/users/304NotModified/events{/privacy}","received_events_url":"https://api.github.com/users/304NotModified/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T19:54:25Z","updated_at":"2016-03-03T19:54:25Z","body":"> Additionally, the first line printed can sometime have a negative result, resulting in a format like \"00:00:00.000-5\".\r\n\r\nIs a negative result not a bug?"}}