aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-16 15:23:34 -0800
committerFriendika <info@friendika.com>2011-01-16 15:23:34 -0800
commitfa9e1a9abba4e116a24f5df3680dcf1a6f8b3f72 (patch)
tree629aca7e62657269fd6672b6b29e11927c8396ed
parentf4ebd2a21332264d998d5fad8b7e5e86dd889862 (diff)
downloadvolse-hubzilla-fa9e1a9abba4e116a24f5df3680dcf1a6f8b3f72.tar.gz
volse-hubzilla-fa9e1a9abba4e116a24f5df3680dcf1a6f8b3f72.tar.bz2
volse-hubzilla-fa9e1a9abba4e116a24f5df3680dcf1a6f8b3f72.zip
apply date translation to birthday in profiles
-rw-r--r--view/en/profile_advanced.php4
-rw-r--r--view/it/profile_advanced.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/view/en/profile_advanced.php b/view/en/profile_advanced.php
index 82c66adec..9aee6c262 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']))
- ? 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')))
. "</div>\r\n</div>";
$o .= '<div id="advanced-profile-dob-end"></div>';
diff --git a/view/it/profile_advanced.php b/view/it/profile_advanced.php
index 50bb0dd28..899fd56b2 100644
--- a/view/it/profile_advanced.php
+++ b/view/it/profile_advanced.php
@@ -39,8 +39,8 @@ EOT;
$o .= '<div id="advanced-profile-dob">'
. ((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')))
. "</div>\r\n</div>";
$o .= '<div id="advanced-profile-dob-end"></div>';