Project

General

Profile

Actions

Bug #38717

closed

strftime() expects parameter 2 to be long, string given

Added by Simon Schaufelberger over 12 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Category:
TypoScript
Target version:
Start date:
2012-07-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

The typoscript rendering process with stdWrap does not handle empty values corrent:

Warning: strftime() expects parameter 2 to be long, string given in \typo3\sysext\cms\tslib\class.tslib_content.php on line 2571

A simple example to reproduce it:

10 = TEXT
10 {
strftime = %d
}

in the date stdWrap this was fixed, see #30931


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #30931: date() expects parameter 2 to be long, string given in class.tslib_content.phpClosed2011-10-14

Actions
Related to TYPO3 Core - Task #40876: Add unit test for stdWrap_strftimeClosedJigal van Hemert2012-09-12

Actions
Actions

Also available in: Atom PDF