[TYPO3-core] RFC #0015748: BE input validation "time" rejects 0:00 and 24:00

Philipp Gampe phil at philippgampe.info
Fri Sep 24 22:27:04 CEST 2010


Hi,

Am 24.09.2010, 19:21 Uhr, schrieb LarsP <typo3 at larsp.de>:
> Type: simple bug
>
> Branches: trunk, 4.4, 4.3

this patch changes behavior, thus only trunk

> BT reference: http://bugs.typo3.org/view.php?id=15748
>
> Description:
> When an input field "type text" is defined as "eval time", the automated
> time evaluation function rejects the values "0:00" by setting it to
> empty (Problem 1) and rejects "24:00" by resetting the input to "23:00"
> (Problem 2).

> Problem 2: Replace all hours with "24" and bigger with "0". (See
> 15748_v1.patch)

+1 reading

> PS: Its my first patch :)

nicely done… AFAIK you can skip leading '0' in the bug number.

Best regards
-- 
Philipp Gampe


More information about the TYPO3-team-core mailing list