@@ -403,7 +403,7 @@ else if("LocalDate".equals(entiteNomSimple)) {
403403 }
404404 else if ("LocalDateTime" .equals (entiteNomSimple ) || "ZonedDateTime" .equals (entiteNomSimple )) {
405405 tl (9 , "<" , composantsWebPrefixe , "input" );
406- tl (11 , "type=\" text \" " );
406+ tl (11 , "type=\" datetime-local \" " );
407407
408408 if (entiteModifier || entiteAttribuer ) {
409409 tl (11 , "{% if " , langueConfig .getString (I18n .var_authPourEcrire ), "Bool == true %}clearable{% else %}readonly{% endif %}" );
@@ -415,15 +415,15 @@ else if("LocalDateTime".equals(entiteNomSimple) || "ZonedDateTime".equals(entite
415415 t (11 , "hint=\" " ).sx (entiteDescription ).l ("\" " );
416416 }
417417 if (entiteNomAffichage != null ) {
418- t (11 , "label=\" " ).sx (entiteNomAffichage ).l ("\" " );
418+ t (11 , "label=\" " ).sx (entiteNomAffichage ).l (" {{ formatZonedDateTime(" , i18nGlobale . getString ( I18n . var_resultat ), "." , entiteVar , ", \" '['VV']' \" , defaultLocaleId, defaultZoneId) | e }} \" " );
419419 }
420420
421421 tl (11 , "class=\" label-on-left {{" , langueConfig .getString (I18n .var_classeApiMethodeMethode ), "}}_" , entiteVar , " datetimepicker set" , entiteVarCapitalise , " class" , classeNomSimple , " input" , classeNomSimple , "{{ " , i18nGlobale .getString (I18n .var_resultat ), "." , classeVarId , " }}" , entiteVarCapitalise , " \" " );
422422 tl (11 , "placeholder=\" " , entiteDefaut == null ? langueConfig .getString (I18n .str_ddDashMMDashyyyy_HHColonmm_VV ) : entiteDefaut , "\" " );
423423 tl (11 , "data-timeformat=\" " , langueConfig .getString (I18n .str_ddDashMMDashyyyy_HHColonmm_VV ), "\" " );
424424 tl (11 , "id=\" {{" , langueConfig .getString (I18n .var_classeApiMethodeMethode ), "}}_" , entiteVar , "\" " );
425425// tl(4, ".a(\"value\", ", entiteVar, " == null ? \"\" : DateTimeFormatter.ofPattern(\"", langueConfig.getString(ConfigCles.var_EEE_d_MMM_yyyy_HAposhAposmmColonss_zz_VV), "\").format(", entiteVar, "));");
426- tl (11 , "value=\" {%- if " , i18nGlobale .getString (I18n .var_resultat ), "." , entiteVar , " is defined %}{{ formatZonedDateTime(" , i18nGlobale .getString (I18n .var_resultat ), "." , entiteVar , ", \" " , langueConfig . getString ( I18n . str_ddDashMMDashyyyy_HHColonmm_VV ), " \" , defaultLocaleId, defaultZoneId) | e }}{%- endif %}\" " );
426+ tl (11 , "value=\" {%- if " , i18nGlobale .getString (I18n .var_resultat ), "." , entiteVar , " is defined %}{{ formatZonedDateTime(" , i18nGlobale .getString (I18n .var_resultat ), "." , entiteVar , ", \" yyyy-MM-dd'T'HH:mm \" , defaultLocaleId, defaultZoneId) | e }}{%- endif %}\" " );
427427 tl (1 , "{%- if 'Page' == " , langueConfig .getString (I18n .var_classeApiMethodeMethode ), " %}" );
428428 tl (1 , "{%- endif %}" );
429429 tl (11 , "data-" , classeVarId , "={{ " , i18nGlobale .getString (I18n .var_resultat ), "." , classeVarId , " | tojson }}" );
@@ -432,7 +432,7 @@ else if("LocalDateTime".equals(entiteNomSimple) || "ZonedDateTime".equals(entite
432432 }
433433 else if ("LocalTime" .equals (entiteNomSimple )) {
434434 tl (11 , "<" , composantsWebPrefixe , "input" );
435- tl (11 , "type=\" text \" " );
435+ tl (11 , "type=\" time \" " );
436436 tl (11 , "class=\" {{" , langueConfig .getString (I18n .var_classeApiMethodeMethode ), "}}_" , entiteVar , " timepicker set" , entiteVarCapitalise , " class" , classeNomSimple , " input" , classeNomSimple , "{{ " , i18nGlobale .getString (I18n .var_resultat ), "." , classeVarId , " }}" , entiteVarCapitalise , " \" " );
437437 tl (11 , "placeholder=\" " , langueConfig .getString (I18n .var_HHColonMM ), "\" " );
438438 tl (11 , "id=\" {{" , langueConfig .getString (I18n .var_classeApiMethodeMethode ), "}}_" , entiteVar , "\" " );
0 commit comments