tomjaguarpaw / haskell-opaleye

Other
599 stars 115 forks source link

Add support for date_trunc #580

Closed njaremko closed 8 months ago

njaremko commented 8 months ago

Adds support for date_trunc

tomjaguarpaw commented 8 months ago

Thanks! To start with I'd just prefer two functions: dateTruncTimestamp and dateTruncTimestamptz. Feel free to make that change, or I can do it when I get round to it.

njaremko commented 8 months ago

Thanks! To start with I'd just prefer two functions: dateTruncTimestamp and dateTruncTimestamptz. Feel free to make that change, or I can do it when I get round to it.

Done

tomjaguarpaw commented 8 months ago

Thanks! I'll try to get round to this at the weekend.

tomjaguarpaw commented 8 months ago

Great, thanks!

tomjaguarpaw commented 8 months ago

Released in https://hackage.haskell.org/package/opaleye-0.10.2.0