Создаю поле день рождения настраиваю вывожу
<?php $content_profile = content_profile_load('profile', $account->uid);
print ($content_profile->field_date_of_birth[0]['value']); ?>
print ($content_profile->field_date_of_birth[0]['value']); ?>
а выводит следующее
1984-08-27T00:00:00
что за концовка такая?
Комментарии
Выведите так:
<?php
if ($account->profile_birthday) { print '<p><strong>Дата рождения:</strong> '.$account->profile_birthday[day].'/'.$account->profile_birthday[month].'/'.$account->profile_birthday[year].'</p>'; }?>