{"action":"created","issue":{"url":"https://api.github.com/repos/jborg/attic/issues/263","labels_url":"https://api.github.com/repos/jborg/attic/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/jborg/attic/issues/263/comments","events_url":"https://api.github.com/repos/jborg/attic/issues/263/events","html_url":"https://github.com/jborg/attic/issues/263","id":65728195,"number":263,"title":"Specify the date and time of the backup","user":{"login":"danwilliams","id":365912,"avatar_url":"https://avatars.githubusercontent.com/u/365912?v=3","gravatar_id":"","url":"https://api.github.com/users/danwilliams","html_url":"https://github.com/danwilliams","followers_url":"https://api.github.com/users/danwilliams/followers","following_url":"https://api.github.com/users/danwilliams/following{/other_user}","gists_url":"https://api.github.com/users/danwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/danwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danwilliams/subscriptions","organizations_url":"https://api.github.com/users/danwilliams/orgs","repos_url":"https://api.github.com/users/danwilliams/repos","events_url":"https://api.github.com/users/danwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/danwilliams/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-01T16:44:40Z","updated_at":"2015-04-13T23:29:23Z","closed_at":null,"body":"This might seem a little odd, but is very useful when migrating backup sets from other software. For instance, I recently converted a huge set of tgz files to Bup, and specified the date and time for each, thereby recreating the backup history. It doesn't have much use outside of this scenario, but would allow migrated sets to play nicely with the `attic prune` command. I imagine it's also a fairly simple addition.\r\n\r\n***Comparison note****: Bup and Obnam both allow this.*"},"comment":{"url":"https://api.github.com/repos/jborg/attic/issues/comments/92532683","html_url":"https://github.com/jborg/attic/issues/263#issuecomment-92532683","issue_url":"https://api.github.com/repos/jborg/attic/issues/263","id":92532683,"user":{"login":"ThomasWaldmann","id":356103,"avatar_url":"https://avatars.githubusercontent.com/u/356103?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasWaldmann","html_url":"https://github.com/ThomasWaldmann","followers_url":"https://api.github.com/users/ThomasWaldmann/followers","following_url":"https://api.github.com/users/ThomasWaldmann/following{/other_user}","gists_url":"https://api.github.com/users/ThomasWaldmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasWaldmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasWaldmann/subscriptions","organizations_url":"https://api.github.com/users/ThomasWaldmann/orgs","repos_url":"https://api.github.com/users/ThomasWaldmann/repos","events_url":"https://api.github.com/users/ThomasWaldmann/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasWaldmann/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T23:29:23Z","updated_at":"2015-04-13T23:29:23Z","body":"You are assuming mtime properties of the root directory which are not necessarily true.\r\n\r\nThus, we need a way to specifically give the datetime as a string and alternatively get it from a file or directory mtime (in cases this makes sense).\r\n\r\nAbout the datetime string parsing my POV is to only support iso-like format. 2015-04-14T01:26:59 (and tolerate a blank instead of the T). That's what ISO standards are for, to have an international standard. And it even is the most logical and most practical way."}}