aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2011-01-23 08:43:30 +0100
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2011-01-23 08:43:30 +0100
commit60c5e76b2db83038b987b2c54aa21bb9818d2fa1 (patch)
tree3d98921fb266f33982b1ddd7c77b38c81e6ea43b /view
parent96620520a8be98204ebc5b3023c6a2db9aa5e540 (diff)
parent6c0218563f9d1b88a2adbaaa875558d4c3abea0b (diff)
downloadvolse-hubzilla-60c5e76b2db83038b987b2c54aa21bb9818d2fa1.tar.gz
volse-hubzilla-60c5e76b2db83038b987b2c54aa21bb9818d2fa1.tar.bz2
volse-hubzilla-60c5e76b2db83038b987b2c54aa21bb9818d2fa1.zip
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'view')
-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 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>';
diff --git a/view/it/profile_advanced.php b/view/it/profile_advanced.php
index 899fd56b2..44327f6a6 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']))
- ? 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>';