valderman / selda

A type-safe, high-level SQL library for Haskell
https://selda.link
MIT License
478 stars 58 forks source link

Use "+HH:MM" suffix instead of "+HHMM" when storing datetime's as text #170

Open alexmingoia opened 2 years ago

alexmingoia commented 2 years ago

This fixes issue with Sqlite date/time functions not working. Sqlite only supports "+HH:MM" suffix with colon, see https://www.sqlite.org/lang_datefunc.html#time_values

alexmingoia commented 2 years ago

I'm not sure why tests are failing here... They are passing on my local copy.