#77935time field in TCA is rendered in FE with an excess of 1 hour
Description
Hi there,
I have a time field in backend (see TCA configuration for it bellow) and if I choose for example 10:00 it renders 11:00 in FE. Data is stored as timestamp in the database and I use FormatDateViehelper to render it.
TCA configuration :
'finish_time' => [
'label' => 'Finish time',
'config' => [
'type' => 'input',
'size' => 8,
'max' => 20,
'eval' => 'time',
'default' => 3600
]
],
ext_tables.sql entry :
CREATE TABLE tx_myext_domain_model_mymodel (
finish_date int(11) unsigned DEFAULT '0' NOT NULL,
);
Model :
/**
* @var \DateTime
* @validate DateTime, NotEmpty
*/
protected $finishTime = null;
Render method :
<f:format.date format="%H:%M">{mymodel.finishTime}</f:format.date>
Can someone confirm this bug?
Thank you,
Jérémie
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.