Posted by: oleyreyy0832 Aug 1 2024, 09:05 AM
I'm facing an issue with an https://yashesaplama.com.tr/ I'm trying to integrate into my website. The calculator seems to be miscalculating ages for leap years. For example, someone born on February 29th, 1992, is showing an incorrect age.
I've tried adjusting the leap year logic in the code, but it's still not working as expected. Any ideas on what might be causing this or how to troubleshoot it?
Posted by: Brian Chandler Aug 2 2024, 03:31 AM
QUOTE(oleyreyy0832 @ Aug 1 2024, 11:05 PM)
I'm facing an issue with an https://yashesaplama.com.tr/ I'm trying to integrate into my website. The calculator seems to be miscalculating ages for leap years. For example, someone born on February 29th, 1992, is showing an incorrect age.
I've tried adjusting the leap year logic in the code, but it's still not working as expected. Any ideas on what might be causing this or how to troubleshoot it?
For most of us, probably, reading Turkish is very difficult, so please extract the code for the calculation and show it here. I guess it is javascript? Note that date calculation code is notoriously difficult to get right, so probably 98+% of standard libraries etc will have errors.