-
Notifications
You must be signed in to change notification settings - Fork 71
Missing instance FromField NominalDiffTime #176
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
There's actually a reason for that: you can't really blindly convert months to days, or days to hours/minutes/seconds, without further context regarding the specific time and location you are talking about. Basically, |
That said, I have considered adding a |
Hmm, maybe I've also noticed that you don't have instances for If not, I could use |
My apologies for forgetting to respond to this issue. I guess, what's your goal here? If all you care about is storing If you care about semantic similarity, which is the primary goal of vanilla postgresql-simple, then what option is there other than
Not that I'm aware of. |
@lpsmith Is there any reason not to include your |
I think it would be a worthy addition to postgresql-simple, and I would welcome a pull request of reasonable quality. |
In addition, I would probably accept a pull request that adds a Though I may have looked into supporting |
There is a
ToField
instance, butFromField
is missing.The text was updated successfully, but these errors were encountered: