Project

General

Profile

Actions

Bug #5015

closed

Date age display increment by 1 extra year

Added by krileon almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
16 January 2015
Due date:
% Done:

100%

Estimated time:

Description

When a date field is set to display as Age it's adding 1 extra year to the display.

https://www.joomlapolis.com/forum/153-professional-member-support/228121-age-error-by-datebirthday-field

Actions #1

Updated by krileon almost 10 years ago

This is due to it comparing year only. It needs to factor in month and day as well.

Actions #2

Updated by krileon almost 10 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Fixed in MR !739

Required new dateDiff API to properly compare two dates.

Actions #3

Updated by beat over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF