X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fen%2Fprofile_advanced.php;h=6d2ecba4d6fda00b237c22192dfc190a291cefff;hb=232ed2bdc5387307cd8693c228b1bcd94a10fae9;hp=7e2036890b6ac3f6952b3620417af039f13bdf58;hpb=b09ab4ef2ce9a9b55e4763418b3358aefe2307fc;p=friendica.git
diff --git a/view/en/profile_advanced.php b/view/en/profile_advanced.php
index 7e2036890b..6d2ecba4d6 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','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')))
. "
\r\n";
$o .= '';
@@ -112,8 +112,7 @@ $o .= <<< EOT
EOT;
}
-
-if($txt = bbcode($a->profile['about'])) {
+if($txt = prepare_text($a->profile['about'])) {
$o .= <<< EOT
About:
@@ -124,7 +123,7 @@ $o .= <<< EOT
EOT;
}
-if($txt = bbcode($a->profile['interest'])) {
+if($txt = prepare_text($a->profile['interest'])) {
$o .= <<< EOT
Hobbies/Interests:
@@ -135,7 +134,7 @@ $o .= <<< EOT
EOT;
}
-if($txt = bbcode($a->profile['contact'])) {
+if($txt = prepare_text($a->profile['contact'])) {
$o .= <<< EOT