diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-09-27 00:46:29 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-09-27 00:46:29 -0700 |
commit | 4d8e8de0bf94ced2de53eddaa2f8c47b167d2af1 (patch) | |
tree | 6a06e3734882bfbc75136425386927e9d8769d28 /include | |
parent | 627c65b49ffafb2c1584bbdf865a5d655d4877d3 (diff) | |
download | volse-hubzilla-4d8e8de0bf94ced2de53eddaa2f8c47b167d2af1.tar.gz volse-hubzilla-4d8e8de0bf94ced2de53eddaa2f8c47b167d2af1.tar.bz2 volse-hubzilla-4d8e8de0bf94ced2de53eddaa2f8c47b167d2af1.zip |
clarify birthday doco, Facebook really screwed this one up.
Diffstat (limited to 'include')
-rw-r--r-- | include/datetime.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/datetime.php b/include/datetime.php index 02250ec07..ca6c1b467 100644 --- a/include/datetime.php +++ b/include/datetime.php @@ -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 birthday -// is on New Year's. You live in San Bruno, California. +// Why? Bear with me. Let's say I live in Mittagong, Australia, and my +// 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)) |