【发布时间】:2018-11-06 10:09:45
【问题描述】:
'construction_period_from' => [
'exclude' => false,
'label' => 'LLL:EXT:River/Resources/Private/Language/locallang_db.xlf:River.from',
'config' => [
'type' => 'input',
'renderType' => 'inputDateTime',
'size' => 7,
'eval' => 'date',
'default' => time()
],
],
这是我正在使用的 tca 字段。默认情况下,日历加载到后端。但我只需要显示月份和年份。在数据库中存储时间戳值。 tca 中是否有任何选项可以仅显示月份和年份?
【问题讨论】: