{"action":"created","issue":{"url":"https://api.github.com/repos/NLog/NLog/issues/725","labels_url":"https://api.github.com/repos/NLog/NLog/issues/725/labels{/name}","comments_url":"https://api.github.com/repos/NLog/NLog/issues/725/comments","events_url":"https://api.github.com/repos/NLog/NLog/issues/725/events","html_url":"https://github.com/NLog/NLog/issues/725","id":83881373,"number":725,"title":"Logging UTC time to a database fails on French machine unless culture given","user":{"login":"stuarthallows","id":1193012,"avatar_url":"https://avatars.githubusercontent.com/u/1193012?v=3","gravatar_id":"","url":"https://api.github.com/users/stuarthallows","html_url":"https://github.com/stuarthallows","followers_url":"https://api.github.com/users/stuarthallows/followers","following_url":"https://api.github.com/users/stuarthallows/following{/other_user}","gists_url":"https://api.github.com/users/stuarthallows/gists{/gist_id}","starred_url":"https://api.github.com/users/stuarthallows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuarthallows/subscriptions","organizations_url":"https://api.github.com/users/stuarthallows/orgs","repos_url":"https://api.github.com/users/stuarthallows/repos","events_url":"https://api.github.com/users/stuarthallows/events{/privacy}","received_events_url":"https://api.github.com/users/stuarthallows/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-02T07:10:23Z","updated_at":"2015-06-04T09:49:50Z","closed_at":null,"body":"I'm logging to the database writing a time value in UTC;\r\n\r\n```xml\r\n<parameter name=\"@LogTimestamp\" layout=\"${date:universalTime=true:format=yyyy-MM-ddTHH\\:mm\\:ss.fff}\" />\r\n```\r\n\r\nThis works fine on my Australian PC, but when I run the code on a French server (French SQL Server, French Windows, Paris time zone) UTC time is not written to the database, the time is offset a number of hours.\r\n\r\nTo fix this I need to specify a culture;\r\n\r\n```xml\r\n<parameter name=\"@LogTimestamp\" layout=\"${date:universalTime=true:format=yyyy-MM-ddTHH\\:mm\\:ss.fff:culture=en-AU}\" />\r\n```\r\n\r\nAs I've specified the format of the date and the code works on an Australian PC I would not expect to have to set the culture when on a French server.  \r\n"},"comment":{"url":"https://api.github.com/repos/NLog/NLog/issues/comments/108811746","html_url":"https://github.com/NLog/NLog/issues/725#issuecomment-108811746","issue_url":"https://api.github.com/repos/NLog/NLog/issues/725","id":108811746,"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":"2015-06-04T09:49:50Z","updated_at":"2015-06-04T09:49:50Z","body":"Could you test this with NLog 4.0 RC? We changed some stuff with timing etc. "}}