[#5015] Age error by Date/birthday Field

9 years 3 months ago - 9 years 3 months ago #257066 by tc_charly
[#5015] Age error by Date/birthday Field was created by tc_charly
Hallo ...

I Make a Profil Field by date.
Now i insert it in Profil and make AGE for Display.

The birthday is 23.10.1971
today the Person is 43
On the 23.10.2015 the User is 44

Error is :
Today in Profil looks 44, not 43

:( I search and search, all is right :(
Everybody can help me please ???

THX

Sry my BAD English ...
I an Swiss Man and English not my Language ;)

Please Log in to join the conversation.

9 years 3 months ago #257084 by krileon
Replied by krileon on topic Age error by Date/birthday Field
Was able to confirm. Looks like it's 1 year off for some reason. Have created a bug ticket to investigate further for 2.0.5.

forge.joomlapolis.com/issues/5015


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

9 years 3 months ago #257087 by tc_charly
Replied by tc_charly on topic [#5015] Age error by Date/birthday Field
Hello krileon,

Nice nice THX ;)

I think the AGE Option look ab the Year, not of the Month or the Date of Birthday.
He look Year, then is the Answer right ;)

System must look DAY,MONTH and YEAR ;)

Have a nice Day and BB

Sry my BAD English ...
I an Swiss Man and English not my Language ;)

Please Log in to join the conversation.

9 years 3 months ago #257090 by krileon
Replied by krileon on topic [#5015] Age error by Date/birthday Field
It's fixed for CB 2.0.5. Had to add a new date diff function to core CB API to better compare the dates. It was only comparing year, which isn't very accurate for age.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.369 seconds

Facebook Twitter LinkedIn