{"action":"created","issue":{"url":"https://api.github.com/repos/fsprojects/FSharp.Azure.Storage/issues/15","labels_url":"https://api.github.com/repos/fsprojects/FSharp.Azure.Storage/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/FSharp.Azure.Storage/issues/15/comments","events_url":"https://api.github.com/repos/fsprojects/FSharp.Azure.Storage/issues/15/events","html_url":"https://github.com/fsprojects/FSharp.Azure.Storage/issues/15","id":109463162,"number":15,"title":"Add support for System.TimeSpan","user":{"login":"eiriktsarpalis","id":2813363,"avatar_url":"https://avatars.githubusercontent.com/u/2813363?v=3","gravatar_id":"","url":"https://api.github.com/users/eiriktsarpalis","html_url":"https://github.com/eiriktsarpalis","followers_url":"https://api.github.com/users/eiriktsarpalis/followers","following_url":"https://api.github.com/users/eiriktsarpalis/following{/other_user}","gists_url":"https://api.github.com/users/eiriktsarpalis/gists{/gist_id}","starred_url":"https://api.github.com/users/eiriktsarpalis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eiriktsarpalis/subscriptions","organizations_url":"https://api.github.com/users/eiriktsarpalis/orgs","repos_url":"https://api.github.com/users/eiriktsarpalis/repos","events_url":"https://api.github.com/users/eiriktsarpalis/events{/privacy}","received_events_url":"https://api.github.com/users/eiriktsarpalis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-02T09:54:17Z","updated_at":"2015-10-05T10:58:07Z","closed_at":null,"body":"While not a supported primitive by Azure, TimeSpan is a useful type to include in this library. It can be easily stored and queried using the Ticks representation."},"comment":{"url":"https://api.github.com/repos/fsprojects/FSharp.Azure.Storage/issues/comments/145495053","html_url":"https://github.com/fsprojects/FSharp.Azure.Storage/issues/15#issuecomment-145495053","issue_url":"https://api.github.com/repos/fsprojects/FSharp.Azure.Storage/issues/15","id":145495053,"user":{"login":"daniel-chambers","id":1214352,"avatar_url":"https://avatars.githubusercontent.com/u/1214352?v=3","gravatar_id":"","url":"https://api.github.com/users/daniel-chambers","html_url":"https://github.com/daniel-chambers","followers_url":"https://api.github.com/users/daniel-chambers/followers","following_url":"https://api.github.com/users/daniel-chambers/following{/other_user}","gists_url":"https://api.github.com/users/daniel-chambers/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-chambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-chambers/subscriptions","organizations_url":"https://api.github.com/users/daniel-chambers/orgs","repos_url":"https://api.github.com/users/daniel-chambers/repos","events_url":"https://api.github.com/users/daniel-chambers/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-chambers/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T10:58:07Z","updated_at":"2015-10-05T10:58:07Z","body":"That's true, though I'd argue the ordering thing is kinda moot since ordering only really matters on the PartitionKey and RowKey properties, which must be strings, so you'd need to zero pad your tick numbers for sorting, etc. Also, if you want reverse sorting, you need to serialize Int64.MaxValue - ticks, since Table Storage only supports top.\r\n\r\nI don't agree that you wouldn't be able to compare Timespans with the serialization approach, but I'll take that discussion over to #14. :)\r\n\r\nAll this being said, TimeSpan is a pretty basic .NET type, so standard out of the box support using ticks seems reasonable, and should be pretty easy to implement. If people don't like it, as you say, they can use the custom serializers from #14 to change the default behaviour."}}