{"action":"created","issue":{"url":"https://api.github.com/repos/NLog/NLog/issues/720","labels_url":"https://api.github.com/repos/NLog/NLog/issues/720/labels{/name}","comments_url":"https://api.github.com/repos/NLog/NLog/issues/720/comments","events_url":"https://api.github.com/repos/NLog/NLog/issues/720/events","html_url":"https://github.com/NLog/NLog/issues/720","id":81394791,"number":720,"title":"Date Based File Archiving : Archived Files Date Labels Become Wrong ","user":{"login":"lesserhippias","id":12625093,"avatar_url":"https://avatars.githubusercontent.com/u/12625093?v=3","gravatar_id":"","url":"https://api.github.com/users/lesserhippias","html_url":"https://github.com/lesserhippias","followers_url":"https://api.github.com/users/lesserhippias/followers","following_url":"https://api.github.com/users/lesserhippias/following{/other_user}","gists_url":"https://api.github.com/users/lesserhippias/gists{/gist_id}","starred_url":"https://api.github.com/users/lesserhippias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesserhippias/subscriptions","organizations_url":"https://api.github.com/users/lesserhippias/orgs","repos_url":"https://api.github.com/users/lesserhippias/repos","events_url":"https://api.github.com/users/lesserhippias/events{/privacy}","received_events_url":"https://api.github.com/users/lesserhippias/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NLog/NLog/labels/discussion","name":"discussion","color":"006b75"}],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":11,"created_at":"2015-05-27T10:43:54Z","updated_at":"2015-06-09T12:17:09Z","closed_at":null,"body":"\r\nSuppose that we try to use Nlog with following target:\r\n\r\n < target name=\"filelog\"\r\n            xsi:type=\"File\"\r\n            fileName=\"${basedir}/Logs/log.txt\"\r\n            layout=\"${longdate} ${message}\"\r\n            archiveEvery=\"Day\"\r\n            archiveFileName=\"${basedir}/Logs/Archives/{#}.txt\"\r\n            archiveNumbering=\"Date\"\r\n            archiveDateFormat=\"yyyy-MM-dd\"\r\n            maxArchiveFiles=\"7\" \r\n/>\r\n\t\t\t\r\nIt work fine while your application works.\r\nSuppose that you application worked for May 10, May 11, May 12, May 13  continuously [ application never stop]\r\n\r\nAt  May 13 \r\n\r\nYou will have 3  Archived Files At  Logs/Archives\r\n\r\n          2015-05-10.txt  [ Evething is okey. All logs messages date are also 2015-05-10]\r\n          2015-05-11.txt  [ Evething is okey. All logs messages date are also 2015-05-11]\r\n          2015-05-12.txt  [ Evething is okey. All logs messages date are also 2015-05-12]\r\n\r\nAnd One File \r\n\r\n               log.txt  [ [ Evething is okey. All logs messages date are also 2015-05-13]]\r\n\r\nThen your application is stopped.No body use it for May 14 , May 15 ...And somebody then At May 16 will start to use you application:\r\n\r\nThen Your Archived Files Labels Becomes Buggy:\r\n\r\n**Nlog Create New Archive File Label It As : 2015-05-15.txt [ In this file there is logs belong to 2015-  05-13 date, infact we should not have any log at 2015-05-15.]**\r\n                 \r\n                 2015-05-15.txt [ messages date are 2015-  05-13 ]\r\n\r\nYou can simply try this by just changing your windows date time...."},"comment":{"url":"https://api.github.com/repos/NLog/NLog/issues/comments/110335764","html_url":"https://github.com/NLog/NLog/issues/720#issuecomment-110335764","issue_url":"https://api.github.com/repos/NLog/NLog/issues/720","id":110335764,"user":{"login":"lesserhippias","id":12625093,"avatar_url":"https://avatars.githubusercontent.com/u/12625093?v=3","gravatar_id":"","url":"https://api.github.com/users/lesserhippias","html_url":"https://github.com/lesserhippias","followers_url":"https://api.github.com/users/lesserhippias/followers","following_url":"https://api.github.com/users/lesserhippias/following{/other_user}","gists_url":"https://api.github.com/users/lesserhippias/gists{/gist_id}","starred_url":"https://api.github.com/users/lesserhippias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesserhippias/subscriptions","organizations_url":"https://api.github.com/users/lesserhippias/orgs","repos_url":"https://api.github.com/users/lesserhippias/repos","events_url":"https://api.github.com/users/lesserhippias/events{/privacy}","received_events_url":"https://api.github.com/users/lesserhippias/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T12:17:09Z","updated_at":"2015-06-09T12:17:09Z","body":"So, you will add this feature in near future  or has no plan?\n\n2015-06-08 21:52 GMT+03:00 Julian Verdurmen <notifications@github.com>:\n\n> I think the OS creation date is the most suitable idea. It isn't always\n> correct, but it's better than now.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/NLog/NLog/issues/720#issuecomment-110105613>.\n>\n"}}