File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
adminforth/dataConnectors Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,15 +86,15 @@ class MysqlConnector extends AdminForthBaseConnector implements IAdminForthDataS
8686 } else if ( baseType . startsWith ( 'json' ) ) {
8787 field . type = AdminForthDataTypes . JSON ;
8888 field . _underlineType = 'json' ;
89- } else if ( baseType . startsWith ( 'date' ) ) {
90- field . type = AdminForthDataTypes . DATE ;
91- field . _underlineType = 'date' ;
9289 } else if ( baseType . startsWith ( 'time' ) ) {
9390 field . type = AdminForthDataTypes . TIME ;
9491 field . _underlineType = 'time' ;
9592 } else if ( baseType . startsWith ( 'datetime' ) || baseType . startsWith ( 'timestamp' ) ) {
9693 field . type = AdminForthDataTypes . DATETIME ;
9794 field . _underlineType = 'timestamp' ;
95+ } else if ( baseType . startsWith ( 'date' ) ) {
96+ field . type = AdminForthDataTypes . DATE ;
97+ field . _underlineType = 'date' ;
9898 } else if ( baseType . startsWith ( 'year' ) ) {
9999 field . type = AdminForthDataTypes . INTEGER ;
100100 field . _underlineType = 'year' ;
You can’t perform that action at this time.
0 commit comments