diff options
author | Friendika <info@friendika.com> | 2011-01-22 03:21:15 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-01-22 03:21:15 -0800 |
commit | 844b177791d8fa75fc9e5f4ec279557f0d0e4a46 (patch) | |
tree | e03916aa169377cf6b63e578685f9589be9d5218 /view/en | |
parent | a80ab1948354be591d246367b0e2ab87d8bec46e (diff) | |
download | volse-hubzilla-844b177791d8fa75fc9e5f4ec279557f0d0e4a46.tar.gz volse-hubzilla-844b177791d8fa75fc9e5f4ec279557f0d0e4a46.tar.bz2 volse-hubzilla-844b177791d8fa75fc9e5f4ec279557f0d0e4a46.zip |
birthday timezone is absolute
Diffstat (limited to 'view/en')
-rw-r--r-- | view/en/profile_advanced.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/en/profile_advanced.php b/view/en/profile_advanced.php index 9aee6c262..d2b9d0612 100644 --- a/view/en/profile_advanced.php +++ b/view/en/profile_advanced.php @@ -39,8 +39,8 @@ EOT; $o .= '<div id="advanced-profile-dob">' . ((intval($a->profile['dob'])) - ? day_translate(datetime_convert('UTC',date_default_timezone_get(),$a->profile['dob'],'j F, Y')) - : day_translate(datetime_convert('UTC',date_default_timezone_get(),'2001-' . substr($a->profile['dob'],6),'j F'))) + ? day_translate(datetime_convert('UTC','UTC',$a->profile['dob'] . ' 00:00 +00:00','j F, Y')) + : day_translate(datetime_convert('UTC','UTC','2001-' . substr($a->profile['dob'],6) . ' 00:00 +00:00','j F'))) . "</div>\r\n</div>"; $o .= '<div id="advanced-profile-dob-end"></div>'; |