Chaojie
Chaojie
I made another lib [flask-valid](https://github.com/ischaojie/flask-valid) to support this feature, using `pydantic`, just like `FastAPI`. You can pass path params, query params, and request body to view func.
Hatch is an absolutely awesome python project and is already used by [many python projects](https://hatch.pypa.io/latest/users/).
https://github.com/python-babel/babel/issues/897
The reason is `` still has almost [no support in modern browsers](http://caniuse.com/input-datetime), So It's better to use `datetime-local`: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local Can we add `DatetimeLocalField` or some?
> BTW, what browser and what version are you using? I using chrome 102.0.5005.61
Weird, the code is like this: ```python class User(Base): __tablename__ = "users" id = Column(Integer, primary_key=True) name = Column(String) age = Column(Integer) created_at = Column(DateTime, default=datetime.now()) Base.metadata.create_all(engine) # Create tables...
> Even here it says it should be supported: [caniuse.com/input-datetime](https://caniuse.com/input-datetime) But it's the `type="datetime-local"` supported, not `type="datetime"`:
I change the code like this: ```python @converts("DateTime") def conv_DateTime( self, model: type, prop: ColumnProperty, kwargs: Dict[str, Any] ) -> UnboundField: kwargs.setdefault("format", "%Y-%m-%dT%H:%M:%S") return DateTimeLocalField(**kwargs) ``` It's worked now: I...
I noticed `tabler` use `litepicker` as date form picker, But😑: https://github.com/tabler/tabler/issues/1136
> @ischaojie Can we still use litepicker and then switch to the new one when tabler switches? `litepicker` didn't support choosing `time`, but new [easepick](https://easepick.com/) supports it. see: https://github.com/wakirin/Litepicker/issues/1 Or...