fsprojects / FSharp.Azure.Storage

F# API for using Microsoft Azure Table Storage service
MIT License
75 stars 16 forks source link

DateTime option serializes incorrectly to table storage #12

Closed jackfoxy closed 8 years ago

jackfoxy commented 8 years ago

Serializes as string literal Some(09/13/2015 14:32:10)

See my modification to DataQueryTest querying for a record that has option type fields works in branch DateTimeOption of my fork for test case. https://github.com/jackfoxy/FSharp.Azure.Storage/tree/DateTimeOption

daniel-chambers commented 8 years ago

Thanks for reporting this. I originally didn't think it was possible, but I've looked into how table storage handles date times more closely, and it actually can be. See PR for more info.

daniel-chambers commented 8 years ago

This has been released in NuGet package v2.1.0.