]> git.mxchange.org Git - friendica.git/commitdiff
clarify birthday doco, Facebook really screwed this one up.
authorMike Macgirvin <mike@macgirvin.com>
Mon, 27 Sep 2010 07:46:29 +0000 (00:46 -0700)
committerMike Macgirvin <mike@macgirvin.com>
Mon, 27 Sep 2010 07:46:29 +0000 (00:46 -0700)
include/datetime.php

index 02250ec073e3c87633b26b3660d0aa51eeb42512..ca6c1b4674802bb5bf64d48de5b3a535f005b174 100644 (file)
@@ -171,11 +171,12 @@ function relative_date($posted_date) {
 // Returns age in years, given a date of birth,
 // the timezone of the person whose date of birth is provided,
 // and the timezone of the person viewing the result.
-// Why? Bear with me. Let's say I live in Mittagong, Australia. My birthda
-// is on New Year's. You live in San Bruno, California.
+// Why? Bear with me. Let's say I live in Mittagong, Australia, and m
+// birthday is on New Year's. You live in San Bruno, California.
 // When exactly are you going to see my age increase?
-// A: 5:00 AM Dec 31. That's when I start celebrating, and when 
-// my birthday arrives in your timezone.
+// A: 5:00 AM Dec 31 San Bruno time. That's precisely when I start 
+// celebrating and become a year older. If you wish me happy birthday 
+// on January 1 (San Bruno time), you'll be a day late. 
    
 function age($dob,$owner_tz = '',$viewer_tz = '') {
        if(! intval($dob))