luyadev / luya-module-admin

Administration base module for all LUYA admin modules
https://luya.io
MIT License
48 stars 56 forks source link

NgRest time field support #31

Open luya-bot opened 6 years ago

luya-bot commented 6 years ago

This issue has originally been reported by @dev7ch at https://github.com/luyadev/luya/issues/1742. Moved here by @nadar.


What steps will reproduce the problem?

Add time field via NgRestPlugins ( Not as text field or whatever)

What is the expected result?

have a field like datetime which lets you select a time ( e.g. hour:minute) only

What do you get instead? (A Screenshot can help us a lot!)

No time field supported in NgRestPlugins currently

| LUYA Version | dev-master

nadar commented 6 years ago

@dev7ch how would you store this value in the database?

JDL747 commented 6 years ago

MySQL support for time type

MySQL TIME data type

nadar commented 6 years ago

Yes using TYPE_TIME (https://www.yiiframework.com/doc/api/2.0/yii-db-schema) should be a good solution.

nadar commented 4 years ago

https://github.com/luyadev/luya-module-admin/issues/12