From fa9e1a9abba4e116a24f5df3680dcf1a6f8b3f72 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 16 Jan 2011 15:23:34 -0800 Subject: [PATCH] apply date translation to birthday in profiles --- view/en/profile_advanced.php | 4 ++-- view/it/profile_advanced.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/view/en/profile_advanced.php b/view/en/profile_advanced.php index 82c66ade..9aee6c26 100644 --- a/view/en/profile_advanced.php +++ b/view/en/profile_advanced.php @@ -39,8 +39,8 @@ EOT; $o .= '
' . ((intval($a->profile['dob'])) - ? datetime_convert('UTC',date_default_timezone_get(),$a->profile['dob'],'j F, Y') - : datetime_convert('UTC',date_default_timezone_get(),'2001-' . substr($a->profile['dob'],6),'j F')) + ? 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'))) . "
\r\n"; $o .= '
'; diff --git a/view/it/profile_advanced.php b/view/it/profile_advanced.php index 50bb0dd2..899fd56b 100644 --- a/view/it/profile_advanced.php +++ b/view/it/profile_advanced.php @@ -39,8 +39,8 @@ EOT; $o .= '
' . ((intval($a->profile['dob'])) - ? datetime_convert('UTC',date_default_timezone_get(),$a->profile['dob'],'j F, Y') - : datetime_convert('UTC',date_default_timezone_get(),'2001-' . substr($a->profile['dob'],6),'j F')) + ? 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'))) . "
\r\n"; $o .= '
';