Jump to content

Birthday date in profils not formated 2.2RC3

Featured Replies

Posted

The birthday date in profils is not formated like Join date time format
ex : Join Date format is d/m/Y
and in profile birtdays is m/d/Y

?

hello thanks but i have modified my templates
Profile_view->Personal_portal_main

				<div id='pp-entry-born-wrap'>
					<if="$member['bday_day'] AND $member['bday_year'] AND $member['bday_month']">
						{$this->ipsclass->lang['born_key']} <span id='pp-entry-born-text'>{$member['bday_month']}/{$member['bday_day']}/{$member['bday_year']}</span>
					<else />
						<span id='pp-entry-born-text'>{$this->ipsclass->lang['m_bday_unknown']}</span>
					</if>
				</div>

changed to

				<div id='pp-entry-born-wrap'>
					<if="$member['bday_day'] AND $member['bday_year'] AND $member['bday_month']">
						{$this->ipsclass->lang['born_key']} <span id='pp-entry-born-text'>{$member['bday_day']}/{$member['bday_month']}/{$member['bday_year']}</span>
					<else />
						<span id='pp-entry-born-text'>{$this->ipsclass->lang['m_bday_unknown']}</span>
					</if>
				</div>

and

							<fieldset>
								<legend>{$this->ipsclass->lang['m_enter_bdate']}</legend>
								<select name='_b_month' id='pp_b_month'>{$member['_birthday_month']}</select>
								<select name='_b_day' id='pp_b_day'>{$member['_birthday_day']}</select>
								<select name='_b_year' id='pp_b_year'>{$member['_birthday_year']}</select>
								<input class='button' type='button' value='{$this->ipsclass->lang['m_save_button']}' onclick="ips_personal_portal.save_settings( 'birthdate', {}, ''); return false;" />
							</fieldset>

changed to

							<fieldset>
								<legend>{$this->ipsclass->lang['m_enter_bdate']}</legend>
								<select name='_b_day' id='pp_b_day'>{$member['_birthday_day']}</select>
								<select name='_b_month' id='pp_b_month'>{$member['_birthday_month']}</select>								
								<select name='_b_year' id='pp_b_year'>{$member['_birthday_year']}</select>
								<input class='button' type='button' value='{$this->ipsclass->lang['m_save_button']}' onclick="ips_personal_portal.save_settings( 'birthdate', {}, ''); return false;" />
							</fieldset>

For the next release, the bday_month will be a text representation to avoid confusion. This is just a discrepency between US and (the rest of the world :lol: )

hello thanks but i have modified my templates



And it working been?

it work but when editing birthday date the new dispalay is wrong

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.