cassava icon indicating copy to clipboard operation
cassava copied to clipboard

adding FromField and ToField instances for UTCTime

Open mherzl opened this issue 8 years ago • 2 comments

Hi,

I appreciate your cassava repo.

Including these FromField and ToField instances for time's UTCTime would be useful to me.

Please feel free to let me know if I can be of help in getting this feature included.

Thank you! Matthew

mherzl avatar Aug 15 '17 18:08 mherzl

@mherzl @hvr it seems like hvr/cassava is not in Travis anymore? I therefore can't see why this PR failed.

ocramz avatar Feb 25 '18 12:02 ocramz

@ocramz the logs for this PR moved to https://travis-ci.org/haskell-hvr/cassava/builds/264861856

However, I'm not convinced this PR to be non-controversial enough at this point. At the very least I'd expect a canonical ISO8601 based serialisation (including a timezone designation, like a trailing Z) that is able to round-trip UTCTime in a loss-less way and is able to deserialise time-zoned ISO8601 representations reasonably.

hvr avatar Feb 25 '18 15:02 hvr