fsprojects / FSharp.Azure.Storage

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

Added support for properties of type DateTime #13

Closed daniel-chambers closed 9 years ago

daniel-chambers commented 9 years ago

Fixes #12.

This scenario was never previously supported as the Table Storage API looked like it only supported DateTimeOffset. However, it turns out that all it does it convert the datetime to UTC and save it (ie. the offsets are normalized away to UTC), which makes it compatible with usages of DateTime.

I've added the necessary slight munging to get it to work in this PR.