Jimmy Cuadra bde43f51f8 Implement IntoActiveValue for time types.
I tried to implement a [custom active
model](https://www.sea-ql.org/SeaORM/docs/advanced-query/custom-active-model/),
and one of the columns was `Option<TimeDateTimeWithTimeZone>`. I got a
compiler error:

```
error[E0277]: the trait bound `std::option::Option<sea_orm::prelude::TimeDateTimeWithTimeZone>: IntoActiveValue<_>` is not satisfied
```

Looking into the source code, it seemed a simple oversight that this
trait was implemented for the `chrono` types but not the `time` types,
and it was easy enough to fix since there's already a macro to implement
it for new types.

I also noticed that the `time` types are not accounted for in
`src/query/json.rs` while the `chrono` types are, which I assume is also
an oversight. However, I don't have a need for that at this point and
the fix for that seemed less trivial, so I'm just bringing it to your
attention.

Thanks for SeaORM!
2022-09-14 22:58:05 -07:00
..
2022-08-12 20:02:53 +08:00
2022-08-12 20:02:53 +08:00
2022-09-05 00:38:12 +08:00
2021-10-29 10:39:16 +03:00
2022-06-29 00:27:55 +08:00
2021-11-10 15:53:37 +08:00
2022-02-05 20:34:54 +08:00
2022-07-10 15:08:38 +08:00
2021-11-14 16:58:52 +08:00
2022-07-26 12:20:40 +08:00