Default date in calendar field - Joomla! Forum - community, help and support


hello,
i'm developping module use calendar.
in .xml file have :

code: select all

   <field
      name="start"
      type="calendar"
      format="%y"
      default="2019"
      label="mod_information_field_start_year_label"
      description="mod_information_field_start_year_desc" />


but when go administration of module year result not expected :
the year in field 1970 , date selected when click on calendar icon date of prensent day.
if should no problem, when save parameter (ex : 2015) , go edit panel, date again @ 1970. each time want change 1 parameter have change date.

can tell me how "default" option work?

thank you!






Comments

Popular posts from this blog

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support