Project

General

Profile

Actions

Task #20016

open

wrong age calculating in stdWrap

Added by Vladimir Podkovanov almost 16 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Should have
Category:
Frontend
Start date:
2009-02-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

Function stdWrap.age assumes that year always consist of 365 days. It leads to wrong age calculations when measured in years. Since ver 4.2 we can use negative timestamps so we can store birthdays and then use stdWrap.age to render ages of people, but because of this bug ages are being shown incorectly.

(issue imported from #M10437)


Related issues 5 (0 open5 closed)

Related to TYPO3 Core - Bug #18321: wrong time value, when weekday is sunday an year is a leap yearClosed2008-02-27

Actions
Related to TYPO3 Core - Task #51628: Precise date calculation for stdWrap.ageClosed2013-09-01

Actions
Related to TYPO3 Core - Bug #23056: Rename t3lib_BEfunc::time and introduce new functionClosed2010-06-30

Actions
Related to TYPO3 Core - Task #56200: Clean up duplicated code in calcAgeClosed2014-02-21

Actions
Precedes TYPO3 Core - Task #59984: Followup for calcAge refactoringRejected2014-06-29

Actions
Actions

Also available in: Atom PDF