X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=view%2Fen%2Fprofile_advanced.php;h=6d2ecba4d6fda00b237c22192dfc190a291cefff;hb=232ed2bdc5387307cd8693c228b1bcd94a10fae9;hp=9aee6c26278dc5758672810aeecbdb74ce568c44;hpb=8b997791819ba419e7e2ceb7861bb0e3e37d87dd;p=friendica.git
diff --git a/view/en/profile_advanced.php b/view/en/profile_advanced.php
index 9aee6c2627..6d2ecba4d6 100644
--- a/view/en/profile_advanced.php
+++ b/view/en/profile_advanced.php
@@ -39,8 +39,8 @@ EOT;
$o .= '
'
. ((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')))
. "
\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