Bug #81275
closed
Extensions Manager's TCA 'default' time()
Added by Loon Buster over 7 years ago.
Updated almost 7 years ago.
Category:
Extension Manager
Description
hello.
'config' => [
'type' => 'input',
'size' => 4,
'eval' => 'time,required',
'default' => time()
]
bad:
'default' => time(),
good:
'default' => mktime(date("G")+1,date("i"),0,1,1,1970)
+1 = Timezone ;)
.loon
- Description updated (diff)
- Status changed from New to Needs Feedback
Where did you find this in the Extension Manager of TYPO3 CMS Core version 7? In the entire core I haven't found the combination "time,required" for the eval property. There are only four cases of 'default' => time(), two of which are in test scripts and none in the Extension Manager.
If I'm correct, timestamps are always UTC, no need to handle any timezone.
- Status changed from Needs Feedback to Closed
No feedback since the last 90 days => closing this issue.
If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or open a new issue with a reference to this one. Thank you.
Also available in: Atom
PDF