aboutsummaryrefslogtreecommitdiffstats
path: root/include/profile_advanced.php
diff options
context:
space:
mode:
authorMichael Vogel <icarus@dabo.de>2012-05-29 16:09:26 +0200
committerMichael Vogel <icarus@dabo.de>2012-05-29 16:09:26 +0200
commit68757f25042b02624bfb748c25029023b3082f62 (patch)
tree676489a112b4d972e1e5626a6dadfd604fc9ce7a /include/profile_advanced.php
parenta08232fa955385b2eaff5f9094b39071fb1632ae (diff)
parent2eafa9a47519f9f35c5eb568cf4235c092c1dcce (diff)
downloadvolse-hubzilla-68757f25042b02624bfb748c25029023b3082f62.tar.gz
volse-hubzilla-68757f25042b02624bfb748c25029023b3082f62.tar.bz2
volse-hubzilla-68757f25042b02624bfb748c25029023b3082f62.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'include/profile_advanced.php')
-rw-r--r--include/profile_advanced.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/profile_advanced.php b/include/profile_advanced.php
index bb9850cd0..8c2acd8e7 100644
--- a/include/profile_advanced.php
+++ b/include/profile_advanced.php
@@ -25,8 +25,8 @@ function advanced_profile(&$a) {
$val = ((intval($a->profile['dob']))
? day_translate(datetime_convert('UTC','UTC',$a->profile['dob'] . ' 00:00 +00:00',$year_bd_format))
- : day_translate(datetime_convert('UTC','UTC','2001-' . substr($a->profile['dob'],6) . ' 00:00 +00:00',$short_bd_format)));
-
+ : day_translate(datetime_convert('UTC','UTC','2001-' . substr($a->profile['dob'],5) . ' 00:00 +00:00',$short_bd_format)));
+
$profile['birthday'] = array( t('Birthday:'), $val);
}